Difference between revisions of "GetCauseofDeath"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Quetzilla
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 32: Line 32:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions (GECK 1.0)]]

Revision as of 11:37, 12 August 2009

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.