findNearestEnemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(recategorization)
Line 38: Line 38:
[[Category:Scripting Commands|FINDNEARESTENEMY]]
[[Category:Scripting Commands|FINDNEARESTENEMY]]
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 16:33, 5 May 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.

Bottom Section