Background for Fallout 4
Member of the Actor script
Actor[]functionGetAllCombatTargets()Native

Description

Wiki Description

Obtains all actors this actor considers combat targets.

Documentation Comment

Get all combat targets for this actor


Caveats


Examples

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

Auto-Generated Example

Actor[] returnedValue = myActor__toCallFunctionOn.GetAllCombatTargets()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.