findNearestEnemy

From Bohemia Interactive Community
Revision as of 22:53, 26 August 2007 by Mikero (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Find the nearest enemy from the specified position. Returns a null object if the group does not know about any enemies.
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.

Bottom Section