Prototype: GemRB.GetToken (VariableName)
Description: Get a Variable value from the Token Dictionary. Tokens are string values, used both by the game scripts and the GUI scripts.
- VariableName - name of the variable (shorter than 32!)
Return value: string, the value of the token
TextArea.Append (GemRB.GetToken ('CHARNAME')) The above example will add the protagonist's name to the TextArea (if the token was set correctly).
Back to function index, GUIScript introduction.