User Tools

Site Tools


4rpl:commands:setscriptvar

Index

SetScriptVar

SetScriptVar(<-unit <-scriptName <-varName <-val)

Description

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.

Examples

SetScriptVar(<-someUnitUID "MyScript" "test" "something")

Index

4rpl/commands/setscriptvar.txt · Last modified: 2023/03/26 15:43 by Vertu