GetGameVar

Prototype: GemRB.GetGameVar (VariableName)

Description: Get a Variable value from the Game Global Dictionary. This is what gamescripts know as GLOBAL variables.

Parameters:

  • VariableName - name of the variable

Return value: numeric

Examples:

Chapter = GemRB.GetGameVar ('chapter')

See also: GetVar, GetToken, CheckVar


Back to function index, GUIScript introduction.