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
Next revision
Previous revision
4rpl:commands:setunituistate [2021/01/24 19:48] – added get/set tabs Sanian4rpl:commands:setunituistate [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 15: Line 15:
 0 or 1.  For the Choice widget the state is 0-N based on the number of choice items configured.\\ 0 or 1.  For the Choice widget the state is 0-N based on the number of choice items configured.\\
 Setting the state for a given unit is typically not needed. The state is usually controlled by the player interacting with UI widgets for the flip and choice widgets. Setting the state for a given unit is typically not needed. The state is usually controlled by the player interacting with UI widgets for the flip and choice widgets.
-\\+
 Note that this call only works on custom units.  If used on a built in unit, it will do nothing.\\ Note that this call only works on custom units.  If used on a built in unit, it will do nothing.\\
 +:NOTE:\\
 +This API does not trigger the [[4rpl:commands:func_uicallback|:_UICallback]] built-in fuction.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setunituistate.1611517719.txt.gz · Last modified: 2025/02/14 14:56 (external edit)