findNearestEnemy

From Bohemia Interactive Community
Revision as of 22:50, 26 August 2007 by Mikero (talk | contribs) (=)
Jump to navigation Jump to search

{{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.

Bottom Section