BIS fnc enemyTargets: Difference between revisions
 (filled page)  | 
				m (See also and format)  | 
				||
| Line 18: | Line 18: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
|x1= <code>_targets = _unit [[call]]   | |x1= <code>_targets = _unit [[call]] [[BIS_fnc_getEnemyTargets]];</code> |= Example 1  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| |= See also  | | [[BIS_fnc_enemyDetected]] |= See also  | ||
}}  | }}  | ||
Revision as of 17:01, 27 May 2018
 
Description
- Description:
 - Return list of nearby enemy targets for given unit.
 - Execution:
 - call
 - Groups:
 - Uncategorised
 
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_getEnemyTargets;
Additional Information
- See also:
 - BIS_fnc_enemyDetected
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note