GetDeadCount - ActorBase

From Creation Kit
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