GameSetExpansion
Prototype: GemRB.GameSetExpansion (mode)
Description: Sets the expansion mode. Most games were created in a two in one and could start the game as expansion only (or transfer to the expansion). This command selects between these two modes.
Parameters:
- mode - 0 or 1
Return value: false if already set, true otherwise
See also: LoadGame, GameGetExpansion, GameType(variable)
Back to function index, GUIScript introduction.