Dismember - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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.

Syntax[edit | edit source]

Function Dismember( string asBodyPart, bool abForceExplode = false, bool abForceDismember = false, \
  bool abForceBloodyMess = false ) native

Parameters[edit | edit source]

  • asBodyPart: 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"
  • abForceExplode: Set to true to force an explosion on this limb.
    • Default: false
  • abForceDismember: Set to true to force the limb to be severed.
    • Default: false
  • abForceBloodyMess: Set to true to force bloody mess.
    • Default: false

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Make the actors head explode
ActorID.Dismember( "Head1", true, false, false )

Notes[edit | edit source]

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.

See Also[edit | edit source]