findNearestEnemy: Difference between revisions
Jump to navigation
Jump to search
m (=) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Object | | [[Object|unit]] <nowiki>=</nowiki> unit '''findNearestEnemy''' [[Position]] |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 |
Revision as of 22:52, 26 August 2007
Description
- Description:
- Find the nearest enemy from the specified position.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit = unit findNearestEnemy Position
- Parameters:
- unit: Object
- Position: (Array)
- Return Value:
- Object
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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
Notes
- Posted on January 9, 2007 - 06:13
- ColonelSandersLite
Returns the nearest enemy the group knows about, not the true nearest enemy. Returns a null object if the group does not know about any enemies.