GetCauseofDeath
Revision as of 12:16, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
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.