IsDismembered - Actor
From Creation Kit
Member of: Actor Script
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.
bool Function IsDismembered(string asBodyPart = "") native
- asBodyPart: The string used to define the body part.
- Default: Empty string
- The following values are acceptable:
- Fly Grab
- Left Foot
- Right Foot
- Face Target Source
True if the asBodyPart has been dismembered.
; 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