This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
4rpl:commands:setunituistate [2025/02/14 14:57] – external edit 127.0.0.1 | 4rpl:commands:setunituistate [2025/05/30 03:29] (current) – Argonwolf | ||
---|---|---|---|
Line 19: | Line 19: | ||
:NOTE:\\ | :NOTE:\\ | ||
This API does not trigger the [[4rpl: | This API does not trigger the [[4rpl: | ||
+ | |||
+ | Setting UI state may not update the state visually; to fix this, it is possible to use SetUnitSelected to deselect and re-select the unit in the same frame, refreshing the UI. | ||
===== Examples ===== | ===== Examples ===== |