GetDead
From GECK
Link to TES4 Construction Set Wiki: GetDead.
A function included in the GECK for Fallout 3.
Contents
Description
Returns 1 if the object reference is dead.
Syntax
[Actor].GetDead
Example
Molerat01Ref.GetDead
This will return 1 if the Molerat is dead, and 0 otherwise.
Notes
- This is more accurate than checking the actor's health because there are circumstances when the actor can die without losing all of their health (such as through KillActor).
- Will not return 1 if the actor was disabled while alive, but will return 1 even if the actor was deleted with MarkForDelete or disabled after death.
- Will not return 1 if an essential actor lost all it's health and was rendered unconscious. Use GetKnockedState instead to detect this state.