Background for Fallout 4
Member of the Actor script
boolfunctionIsDismembered(stringasBodyPart="")Native

Description

Wiki Description

Check to see if a specific limb has been dismembered. If no body part is passed it this function will check to see if any limb has been dismembered.

Documentation Comment

Check to see if a limb has been dismembered


Caveats


Parameters

stringasBodyPart=""

CK Wiki Description

The string used to define the body part.

  • The following values are acceptable:* Torso
    • Head1
    • Eye
    • LookAt
    • Fly Grab
    • Head2
    • LeftArm1
    • LeftArm2
    • RightArm1
    • RightArm2
    • LeftLeg1
    • LeftLeg2
    • LeftLeg3
    • RightLeg1
    • RightLeg2
    • RightLeg3
    • Brain
    • Weapon
    • Root
    • COM
    • Pelvis
    • Camera
    • OffsetRoot
    • Left Foot
    • Right Foot
    • Face Target Source

Examples

; Check to see if the actor's head has been dismembered.
if (ActorID.IsDismembered( "Head1" ))
  Debug.Trace("This actor's head has been cut off")
endIf
; Check to see if any of the actor's limbs have been dismembered.
if (ActorID.IsDismembered( ))
  Debug.Trace("This actor has at least one limb cut off")
endIf

Auto-Generated Example

string myString__asBodyPart

bool returnedValue = myActor__toCallFunctionOn.IsDismembered(myString__asBodyPart)

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.