SetInChargen - Game

Revision as of 20:33, 11 February 2018 by imported>Qazaaq (added category)
(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.

SyntaxEdit

Function SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage) Native Global

ParametersEdit

  • 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 ValueEdit

None

ExamplesEdit

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

NotesEdit

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

See AlsoEdit