SetMasterScript

Prototype: GemRB.SetMasterScript (ScriptResRef, WMPResRef[, WMPResRef2])

Description: Sets the worldmap and master script names. This function is required if you want to alter the worldmap or the master script (simulating the ToB or HoW expansions).

Parameters:

  • ScriptResRef - the name of the master script (.bcs resref).
  • WMPResRef - the name of the worldmap (.wmp resref).
  • WMPResRef2 - the name of the extra worldmap (optional).

Return value: N/A

See also: LoadGame


Back to function index, GUIScript introduction.