Background for Fallout 4
Member of the Game script
voidfunctionSetInChargen(boolabDisableSaving, boolabDisableWaiting, boolabShowControlsDisabledMessage)NativeGlobal

Description

Wiki Description

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.

Documentation Comment

Informs the game whether we are in CharGen or not


Caveats

CK Wiki - Notes

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


Parameters

boolabDisableSaving

CK Wiki Description

True if we should disable the player's ability to save the game.

boolabDisableWaiting

CK Wiki Description

True if we should disable the player's ability to wait.

boolabShowControlsDisabledMessage

CK Wiki Description

True if we should show a HUD message informing the player that their controls are disabled when they try to use them.


Examples

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

Auto-Generated Example

bool myBool__abDisableSaving
bool myBool__abDisableWaiting
bool myBool__abShowControlsDisabledMessage

Game.SetInChargen(myBool__abDisableSaving, myBool__abDisableWaiting, myBool__abShowControlsDisabledMessage)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.