Difference between revisions of "GetDead"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Wkilleen
 
imported>JT
(redacted; whoops, creatures aren't actors)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetDead GetDead]
{{Function
|CSWikiPage = GetDead
|origin = GECK1
|summary = Returns 1 if the object reference is dead.
|name = GetDead
|returnVal = 0, 1
|returnType = void
|referenceType = [Actor]
|example = <pre>Molerat01Ref.GetDead</pre>
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]]).


=='''See Also'''==
=='''See Also'''==
Line 5: Line 18:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.1)]]

Latest revision as of 23:51, 9 February 2010

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetDead.

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the object reference is dead.

Syntax

[help]
[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).

See Also

GetDeadCount