User Tools

Site Tools


4rpl:commands:getunituitext

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getunituitext [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:getunituitext [2022/11/01 19:40] (current) – final correction to text return Karsten75
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +<WRAP tabs>
 +  * [[4rpl:commands:GetUnitUIText|Get]]
 +  * [[4rpl:commands:SetUnitUIText|Set]]
 +</WRAP>
  
 ====== GetUnitUIText ====== ====== GetUnitUIText ======
Line 11: Line 16:
 For the Flip and Choice widget, the text is the label and the value is controlled by the state.\\ For the Flip and Choice widget, the text is the label and the value is controlled by the state.\\
 \\ \\
-Note that this call only works on custom units.  If used on a built in unit, it will return 0.\\+Notes: 
 +  * This call only works on custom units.  If used on a built in unit, it will return 0. 
 +  * Unless the value is explicitly set using [[SetUnitUIText]] a null value will be returned. 
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/getunituitext.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1