BIS_fnc_enemyTargets

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Return list of nearby enemy targets for given unit.

Syntax

Syntax:
unit call BIS_fnc_enemyTargets
Parameters:
unit - Object: unit that is inspected
Return Value:
Array of enemies, empty if unit doesn't know about any enemy

Examples

Example 1:
_targets = _unit call BIS_fnc_enemyTargets;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_enemyDetected

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section