SetInChargen - Game

From the CreationKit Wiki
Jump to navigation Jump to search

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[edit | edit source]

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

Parameters[edit | edit source]

  • 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[edit | edit source]

None

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]