GetDeadCount

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the total number of this creature/NPC type that have been killed.

Syntax

[help]
(number:int) GetDeadCount ActorID

Example

GetDeadCount CrMolerat

Returns the amount of Molerats that are dead.

Notes

  • On a templated actor, GetDeadCount works only on the specified reference.
  • Note that the parameter is an actor base ID, so you cannot use this function to test whether a named object reference has been killed.
  • Resurrecting a killed actor will not lower the death count for actors of that type. This is true even of unique or referenced actors.

See Also