Difference between revisions of "GetDeadCount"
m
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Pintocat m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|CSWikiPage = GetDeadCount | |||
|origin = GECK1 | |||
|summary = Returns the total number of this creature/NPC type that have been killed. | |||
|name = GetDeadCount | |||
|returnVal = number | |||
|returnType = int | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = ActorID | |||
}} | |||
|example = <pre>GetDeadCount CrMolerat</pre> | |||
Returns the amount of Molerats that are dead. | |||
}} | |||
=='''Notes'''== | =='''Notes'''== | ||
*On a templated actor, GetDeadCount works only on the specified reference. | *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. | |||
*[[Resurrect]]ing 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'''== | =='''See Also'''== |