Mod:Creation Kit/GetAllCombatTargets - Actor

Member of: Mod:Creation Kit/Actor Script

Obtains all actors this actor considers combat targets.

Syntax
Actor[] Function GetAllCombatTargets native

Parameters
None.

Return Value
The actors currently considered combat targets (if any)

Examples
Actor[] targets = Bob.GetAllCombatTargets if targets.length > 10 Debug.Trace("Wow... we're against tall odds!") endIf