Difference between revisions of "GetCauseofDeath"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Quetzilla
Line 33: Line 33:
[[Category:Functions]]
[[Category:Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Godsend Functions]]

Revision as of 18:48, 12 December 2008

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.