Background for Fallout 4
Member of the Game script
voidfunctionShowRaceMenu(ObjectReferenceakMenuTarget=NONE, intuiMode=0, ObjectReferenceakMenuSpouseFemale=NONE, ObjectReferenceakMenuSpouseMale=NONE, ObjectReferenceakVendor=NONE)NativeGlobal

Description

Wiki Description

Shows the race/sex change menu.

Documentation Comment

Displays the race/sex menu


Caveats


Parameters

ObjectReferenceakMenuTarget=NONE

CK Wiki Description

The primary actor to be modified by the race menu

  • Default:None (use the Player)

intuiMode=0

CK Wiki Description

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

ObjectReferenceakMenuSpouseFemale=NONE

CK Wiki Description

The enabled female spouse used in the character generation version of the race menu.

  • Default:None

ObjectReferenceakMenuSpouseMale=NONE

CK Wiki Description

The disabled male spouse used in the character generation version of the race menu.

  • Default:None

ObjectReferenceakVendor=NONE

CK Wiki Description

The vendor providing any services (haircut, tattooing, etc.)

  • Default:None

Examples

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

Auto-Generated Example

ObjectReference myObjectReference__akMenuTarget
int myInt__uiMode
ObjectReference myObjectReference__akMenuSpouseFemale
ObjectReference myObjectReference__akMenuSpouseMale
ObjectReference myObjectReference__akVendor

Game.ShowRaceMenu(myObjectReference__akMenuTarget, myInt__uiMode, myObjectReference__akMenuSpouseFemale, myObjectReference__akMenuSpouseMale, myObjectReference__akVendor)

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.