Description
Wiki Description
Dismember a limb from this actor. The body part string should be the same string as listed in the editor for body part - part type. The force bools should only be used if you want to ignore the random odds set up in the body part data in the editor.
Documentation Comment
Dismember a limb from the actor
The body part string should be the same string as listed in the editor for body part - part type
Here is the list of current parts
"Torso",
"Head1",
"Eye",
"LookAt",
"Fly Grab",
"Head2",
"LeftArm1",
"LeftArm2",
"RightArm1",
"RightArm2",
"LeftLeg1",
"LeftLeg2",
"LeftLeg3",
"RightLeg1",
"RightLeg2",
"RightLeg3",
"Brain",
"Weapon",
"Root",
"COM",
"Pelvis",
"Camera",
"Offset Root",
"Left Foot",
"Right Foot",
The force bools should only be used if you want to ignore the random odds set up in the body part data in the editor
Caveats
CK Wiki - Notes
Make sure the actor has 3d before you try to dismember the limbs or nothing will happen. You can use Is3DLoaded to tell when it is safe to call this function.
Parameters
stringasBodyPart
CK Wiki Description
The string used to define the body part.
- Current list of body part names:* "Torso"
- "Head1"
- "Eye"
- "LookAt"
- "Fly Grab"
- "Head2"
- "LeftArm1"
- "LeftArm2"
- "RightArm1"
- "RightArm2"
- "LeftLeg1"
- "LeftLeg2"
- "LeftLeg3"
- "RightLeg1"
- "RightLeg2"
- "RightLeg3"
- "Brain"
- "Weapon"
- "Root"
- "COM"
- "Pelvis"
- "Camera"
- "Offset Root"
- "Left Foot"
- "Right Foot"
- Current list of body part names:* "Torso"
boolabForceExplode=false
CK Wiki Description
Set to true to force an explosion on this limb.
boolabForceDismember=false
CK Wiki Description
Set to true to force the limb to be severed.
boolabForceBloodyMess=false
CK Wiki Description
Set to true to force bloody mess.
Examples
; Make the actors head explode
ActorID.Dismember( "Head1", true, false, false )Auto-Generated Example
string myString__asBodyPart
bool myBool__abForceExplode
bool myBool__abForceDismember
bool myBool__abForceBloodyMess
myActor__toCallFunctionOn.Dismember(myString__asBodyPart, myBool__abForceExplode, myBool__abForceDismember, myBool__abForceBloodyMess)Related Pages
- Actor
- Actor.Kill(...)
- Actor.OnDeath(...)
- Actor.IsDismembered(...)
- ObjectReference.Is3DLoaded()
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
