GameSetProtagonistMode

Prototype: GemRB.GameSetProtagonistMode (Mode)

Description: Sets how the game handles the game over event. This action works only after a LoadGame().

Parameters:

  • Mode: * 0 no check * 1 game over when protagonist dies * 2 game over when whole party is dead

Return value: N/A

See also: LoadGame, GameSetPartySize


Back to function index, GUIScript introduction.