voidfunctionChangeHeadPart(HeadPartapHeadPart, boolabRemovePart=false, boolabRemoveExtraParts=false)Native
Description
Wiki Description
Change or add this HeadPart to the actor.
Documentation Comment
Change this actor's headpart
Caveats
Parameters
boolabRemovePart=false
CK Wiki Description
If this is true the part will be removed instead of added.
- Default:false
boolabRemoveExtraParts=false
CK Wiki Description
If we are removing a part we can remove the extra parts too by setting this to true.
- Default:false
Examples
; Adds the RedScar part to the actor
ActorToChange.ChangeHeadPart(RedScar); Removes the RedScar part from the actor
ActorToChange.ChangeHeadPart(RedScar, True)Auto-Generated Example
HeadPart myHeadPart__apHeadPart
bool myBool__abRemovePart
bool myBool__abRemoveExtraParts
myActor__toCallFunctionOn.ChangeHeadPart(myHeadPart__apHeadPart, myBool__abRemovePart, myBool__abRemoveExtraParts)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
