SetInChargen - Game

Revision as of 16:49, 18 October 2011 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

Tells the game that we're in the initial "character generation" quest. Used to enable / disable certain functionality, e.g. enable tutorials, disable saving, etc.

Syntax

Function SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage) native global

Parameters

  • abDisableSaving: True if we should disable the player's ability to save the game.
  • abDisableWaiting: True if we should disable the player's ability to wait.
  • abShowControlsDisabledMessage: True if we should show a HUD message informing the player that their controls are disabled when they try to use them.

Return Value

None

Examples

; Disable saving and waiting
Game.SetInChargen(true, true, false)

Notes

Be sure to turn these off once the player is in the 'real' world.

See Also