Difference between revisions of "GetKillingBlowLimb"

From GECK

 
m
Line 38: Line 38:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Condition Functions]]
 
[[Category:Condition Functions]]
 +
[[Category:Godsend Functions]]

Revision as of 19:56, 12 December 2008

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

Personal tools