This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
4rpl:commands:setunituioptions [2024/08/24 16:35] – Recovered draft about unreliability Vertu | 4rpl:commands:setunituioptions [2024/08/24 16:45] (current) – old revision restored (2021/01/24 14:49) Vertu | ||
---|---|---|---|
Line 16: | Line 16: | ||
For the Flip and Choice widget, the options are the values shown in the ui widget.\\ | For the Flip and Choice widget, the options are the values shown in the ui widget.\\ | ||
\\ | \\ | ||
- | Note that this call only works on custom units. | + | Note that this call only works on custom units. |
- | + | ||
- | :WARNING: Changes set by this API do not persist between saves. You will have to apply this API in :Gameloaded to prevent errors.\\ | + | |
- | Theorized erros are:\\ | + | |
- | * Flip widgets for the unit using this API will change states visually but not internally. When you have a flip widget as " | + | |
- | * Other choice widgets that are not set via this API, get wiped. Example: Choice: " | + | |
- | :NOTE: Advanced investigation not done on this. | + | |
===== Examples ===== | ===== Examples ===== |