GetCauseofDeath

From the Fallout3 GECK Wiki
Revision as of 11:37, 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

*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.