findNearestEnemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Find the nearest enemy from the specified position. |= Description
| Find the nearest enemy from the specified position. Returns a null object if the group does not know about any enemies. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:53, 26 August 2007

-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