findNearestEnemy: Difference between revisions
Jump to navigation
Jump to search
(recategorization) |
m (=) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Object]|unit] <nowiki>=</nowiki> unit'''findNearestEnemy''' [[Position]] |= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= | |p2= [[Position]]: ([[Array]]) |= Parameter 2 | ||
| [[Object]] |= Return value | | [[Object]] |= Return value |
Revision as of 22:50, 26 August 2007
{{Command|= Comments ____________________________________________________________________________________________
| arma |= Game name
|1.00|= Game version ____________________________________________________________________________________________
| Find the nearest enemy from the specified position. |= Description ____________________________________________________________________________________________
| [[Object]|unit] = unitfindNearestEnemy Position |= Syntax
|p1= unit: Object |= Parameter 1
|p2= Position: (Array) |= Parameter 2
| Object |= Return value ____________________________________________________________________________________________
| |= See also
}}
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.