SetCharGenHUDMode - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Sets or clears CharGen-specific HUD modes.

Syntax[edit | edit source]

Function SetCharGenHUDMode(int aiCGHUDMode) Native Global

Parameters[edit | edit source]

  • aiCGHUDMode: Which HUD mode to set. Valid values:
    • 0 -- Clears all CharGen HUD modes
    • 1 -- From CharGen start to leaving the house. Most of HUD invisible except for crosshairs.
    • 2 -- From leaving the house to entering the cryo-pod. Crosshairs and compass.
    • 3 -- End of main quest line. Disables the entire HUD.

Return Value[edit | edit source]

None

Examples[edit | edit source]

; We're starting CharGen
Game.SetCharGenHUDMode(1)


; CharGen over!  Back to standard HUD mode
Game.SetCharGenHUDMode(0)

See Also[edit | edit source]