CopyFaceGenFrom
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
Copies all visual appearance properties from the specified source NPC form to the calling actor.
- The function copies race, sex, face geometry (FaceGen data), skin tone, hair (style, length and color), eyes and miscellaneous head/face parts.
- The function modifies the calling actor's base form, thus changes will be applied on any instance of the same base form in the game.
- When called on the player character, any changes made using this function will be recorded in the game's save file, and will apply on the current game only, whereas changes made to other NPCs' appearance will not be saved, will remain in effect for the duration of the current game session, and will be reset once the game is restarted.
- Visual update is already performed by the function, and is therefore not required separately.
Undoing changes:
- The function keeps an internal backup of the pre-modified properties.
- To undo changes, simply call the function omitting the sourceNPC argument.
Syntax
reference.CopyFaceGenFrom sourceNPC:form
Example
actorRef.CopyFaceGenFrom CarlitosWayne
actorRef.CopyFaceGenFrom ; Undo changes