GetCauseofDeath

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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

Syntax

[help]
(causeOfDeath:int) [Actor].GetCauseofDeath

Example

if BuddyRef.GetCauseofDeath == 6

Determines if Buddy was poisoned to death.

Cause of Death Values

-1	NONE
0	EXPLOSION 
2	GUN
3	BLUNT_WEAPON 
4	HAND_TO_HAND 
5	OBJECT_IMPACT 
6	POISON 
7	RADIATION 

See Also