SetGlobal

Prototype: GemRB.SetGlobal (VariableName, Context, Value)

Description: Sets a gamescript variable to the specificed numeric value.

Parameters:

  • VariableName - name of the variable
  • Context - LOCALS, GLOBALS, MYAREA or area specific
  • Value - value to set

Return value: N/A

See also: SetVar, Control_SetVarAssoc, SetToken


Back to function index, GUIScript introduction.