GetCauseofDeath

Revision as of 18:48, 12 December 2008 by imported>Quetzilla

Description

*GetCauseofDeath Indicates the cause of death for an actor. It is called on a Reference and has no parameters.

Syntax

[ActorREF.]GetCauseofDeath

Examples

if BuddyRef.GetCauseofDeath == 6

Determines if Buddy was poisoned to death.

Notes

  • Cause of Death values:
    • NONE = -1
    • EXPLOSION = 0
    • GUN = 2
    • BLUNT_WEAPON = 3
    • HAND_TO_HAND = 4
    • OBJECT_IMPACT = 5
    • POISON = 6
    • RADIATION = 7


See Also

Reference

None provided.