Background for Fallout 4
Member of the Actor script
voidfunctionSetHasCharGenSkeleton(boolabCharGen=true)Native

Description

Wiki Description

Flags this actor as having a fully char gen editable skeleton or not.

Documentation Comment

Flags/unflags this actor as requiring a char gen skeleton


Caveats

CK Wiki - Notes

  • The CharGenSkeleton is incompatible with Power Armor, so don't set it on an actor that could be in Power Armor while you need him to have the CharGenSkeleton.
  • Adding or removing the CharGenSkeleton causes the Actor's animation graph to be deleted and re-initialized. That means that any animation events you register on the actor beforehand will become unregistered.
  • This function does not wait for the Actor to be fully re-initialized before the script moves on. If you need to know that when the Actor has finished re-initializing (for example: because you don't want the player to be able to switch to third person when his third person animations aren't loaded) then see the following example below.

Parameters

boolabCharGen=true

CK Wiki Description

True to set actor for full char gen editing, false to restore them to normal.

  • Default:True

Examples

; Set player spouse up for editing in char gen menu
PlayerSpouse.SetHasCharGenSkeleton(true)

Auto-Generated Example

bool myBool__abCharGen

myActor__toCallFunctionOn.SetHasCharGenSkeleton(myBool__abCharGen)

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.