findNearestEnemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 39: Line 39:
[[Category:Scripting Commands|FINDNEARESTENEMY]]
[[Category:Scripting Commands|FINDNEARESTENEMY]]
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 05:28, 24 February 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Find the nearest enemy from the specified position.
Groups:
Uncategorised

Syntax

Syntax:
object findNearestEnemy position
Parameters:
object: Object
position: Object or 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.

            -Colonel Sanders Lite

Bottom Section