SexChange

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Changes the gender of the specified actor. The function has an optional parameter indicating the target sex (male, female). If no parameter is passed the actor changes to their opposite gender. If no calling reference is specified, the player is chosen by default.

If resetAppearance is set to true (1) AND if the affected actor is the player AND if targetSex is set to change the actor's current gender (rather than keep the same one), then the player's appearance will be set to the default preset for their race+gender. This default preset can be seen when opening ShowRaceMenu and changing the race.

Syntax

[help]
[actor:reference].SexChange targetSex:Male/Female
  resetAppearance:bool{Default:0} 

Notes

  • If an NPC's chosen hair is now invalid for the changed sex, the default hair is used instead.

See Also