This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:getunituitext [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getunituitext [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| < | < | ||
| + | |||
| + | <WRAP tabs> | ||
| + | * [[4rpl: | ||
| + | * [[4rpl: | ||
| + | </ | ||
| ====== 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. | + | Notes: |
| + | * This call only works on custom units. | ||
| + | * Unless the value is explicitly set using [[SetUnitUIText]] a null value will be returned. | ||
| ===== Examples ===== | ===== Examples ===== | ||