ShowRaceMenu - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:34, 20 November 2015 by imported>Plplecuyer (→‎Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Shows the race/sex change menu.

Syntax

Function ShowRaceMenu(ObjectReference akMenuTarget = None, int uiMode = 0, ObjectReference akMenuSpouseFemale = None, \
  ObjectReference akMenuSpouseMale = None, ObjectReference akVendor = None) native global

Parameters

  • akMenuTarget: The primary actor to be modified by the race menu
    • Default: None (use the Player)
  • uiMode : Determine the 'mode' of the menu to use
    • Default: 0
    • Valid values are:
      • 0: Start-of-game chargen
      • 1: Remake -- similar to start-of-game chargen except that only the player is editable and sex can't be changed
      • 2: Haircut
      • 3: Plastic Surgery
      • 4: Face Paint
  • akMenuSpouseFemale : The enabled female spouse used in the character generation version of the race menu.
    • Default: None
  • akMenuSpouseMale : The disabled male spouse used in the character generation version of the race menu.
    • Default: None
  • akVendor : The vendor providing any services (haircut, tattooing, etc.)
    • Default: None

Return Value

None.

Examples

; Show the race/sex menu to let the player customize their character
Game.ShowRaceMenu()

See Also