Prototype: GemRB.GetVar (VariableName)
Description: Get a Variable value from the Global Dictionary. Controls could be set up to be associated with such a variable. Even multiple controls could affect the same variable.
- VariableName - name of the variable (shorter than 32!)
Return value: numeric, 0 if the variable doesn’t exist
selected = GemRB.GetVar ('SelectedMovie')
See also: SetVar, Control_SetVarAssoc
Back to function index, GUIScript introduction.