Difference between revisions of "SetInChargen - Game"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Qazaaq (added category) |
||
Line 1: | Line 1: | ||
'''Member of:''' [[Game Script]] | '''Member of:''' [[Game Script]] | ||
Line 7: | Line 5: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage) | Function SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage) Native Global | ||
</source> | </source> | ||
Line 29: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:User Interface]] |
Latest revision as of 20:33, 11 February 2018
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.