
Prototype: GemRB.GetToken(VariableName)

Description: Get a Variable value from the Token Dictionary. Tokens are string values, both used by the gamescript and the GUI scripts.

Parameters: VariableName - the name of the variable must be shorter than 32 bytes

Return value: string, the value of the token

Example: GemRB.TextAreaAppend(CharGenWindow, TextArea, GemRB.GetToken("CHARNAME"))
The above example will add the protagonist's name to the TextArea (if the token was set correctly).

See also: SetToken, QueryText


MD5: fea89d3ea3aa58100ad165ea6b9cb605
