This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:setscriptvar [2023/03/26 19:27] – Mistakenly put info about input variable compatibility in the GET section. Vertu | 4rpl:commands:setscriptvar [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Sets the named variable on the specified unit and script. | + | Sets the named variable on the specified unit and script.\\ |
| - | The script is referenced by name. If the name is an empty string, the first (possibly only) script on the unit will be referenced. | + | The script is referenced by name. If the name is an empty string, the first (possibly only) script on the unit will be referenced. |
| - | + | ||
| - | :NOTE: Although input/init variables ($varName:< | + | |
| ===== Examples ===== | ===== Examples ===== | ||
| <code 4rpl> | <code 4rpl> | ||
| - | SetScriptVar(< | + | SetScriptVar(< |
| </ | </ | ||
| < | < | ||