GetDeadCount - ActorBase

From Creation Kit
Revision as of 2011-10-18T15:26:50 by Rhavlovick (Talk | contribs) (1 revision: Clobber re-import by Henning)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Member of: ActorBase Script

Obtains the number of actors using this actor base that are dead.

Syntax

int Function GetDeadCount() native

Parameters

None.

Return Value

The number of actors that use this actor base that are dead.

Examples

; Have we killed 10 archers?
if (ArcherBase.GetDeadCount() >= 10)
  Debug.Trace("10 or more archers are dead")
endIf

See Also