My playground sidebar
Game Basics
Features
Mapmaking
My playground sidebar
Game Basics
Features
Mapmaking
GetScriptVar(<-uid <-var <-script <-partOrUnitUID) -> val
Gets a variable from a script on a unit or part.
#This will get the value of the variable "MyVar" from script index 0 on unit with UID 1 GetScriptVar("" "MyVar" 0 1) ->val
⇐ Index