GetKillingBlowLimb

From the Fallout3 GECK Wiki
Revision as of 12:48, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

Description

GetKillingBlowLimb returns a number indicating the last limb that was hit (dismembered, exploded, or intact) when the referenced actor was killed.

Syntax

[ActorREF.]GetKillingBlowLimb 

Examples

if BuddyRef.GetKillingBlowLimb == 0

This would determine if Buddy was killed by a hit to the torso.

Notes

  • The body locations and corresponding numbers are:
    • NONE = -1 (if the actor's still alive)
    • TORSO = 0
    • HEAD_1 = 1
    • HEAD_2 = 2
    • LEFT_ARM_1 = 3
    • LEFT_ARM_2 = 4
    • RIGHT_ARM_1 = 5
    • RIGHT_ARM_2 = 6
    • LEFT_LEG_1 = 7
    • LEFT_LEG_2 = 8
    • LEFT_LEG_3 = 9
    • RIGHT_LEG_1 = 10
    • RIGHT_LEG_2 = 11
    • RIGHT_LEG_3 = 12
    • BRAIN = 13


See Also