Index
Scripting

GetScriptVar

GetScriptVar(<-uid <-var <-script <-partOrUnitUID) -> val

Description

Gets a variable from a script on a unit or part.

Parameters

Return Value

Examples

#This will get the value of the variable "MyVar" from script index 0 on unit with UID 1
GetScriptVar("" "MyVar" 0 1) ->val

Index