ShowRaceMenu - Game

Revision as of 20:25, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

Shows the race/sex change menu.

SyntaxEdit

Function ShowRaceMenu(ObjectReference akMenuTarget = none, int uiMode = 0, ObjectReference akMenuSpouseFemale = none, \
  ObjectReference akMenuSpouseMale = none, ObjectReference akVendor = none) Native Global

ParametersEdit

  • 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 ValueEdit

None

ExamplesEdit

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

See AlsoEdit