User Tools

Site Tools


4rpl:commands:setunituistate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:setunituistate [2025/02/14 14:57] – external edit 127.0.0.14rpl:commands:setunituistate [2025/05/30 03:29] (current) Argonwolf
Line 19: Line 19:
 :NOTE:\\ :NOTE:\\
 This API does not trigger the [[4rpl:commands:func_uicallback|:_UICallback]] built-in fuction. This API does not trigger the [[4rpl:commands:func_uicallback|:_UICallback]] built-in fuction.
 +
 +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 =====
4rpl/commands/setunituistate.txt · Last modified: 2025/05/30 03:29 by Argonwolf