SetHair

From GECK

A function added by the New Vegas Script Extender.

Description

Sets the hair on the NPC to a hairstyle predefined in the GECK. The change will not be apparent until the 3D reloads, which you can force using Update3D. Added by NVSE 4.1.

Syntax

(none) Actor.SetHair NewHair:form Actor:NPC

Example

SunnyREF.SetHair HairBun
SunnyREF.Update3D

Notes

  • According to the OBSE docs for this function: "Changes alter the base actor and are not saved in the savegame unless called on the player... Changes do appear to be saved for the player, but may not be visible until the game is reloaded."

See Also

Personal tools