findNearestEnemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|FINDNEARESTENEMY]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''object '' findNearestEnemy  '' position'''''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| Find the nearest enemy from the specified position. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''findNearestEnemy''' position |= Syntax


'''object''': [[Object]]
|p1= object [[Object]] |= Parameter 1


'''position''': [[Object]] or [[Array]]
|p2= position [[Object]] |= Parameter 2


'''Type of returned value:'''
| [[Object]] |= Return value
____________________________________________________________________________________________


[[Object]]
|  |= See also


'''Compatibility:'''
}}


Version 2.92 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Find the nearest enemy from the specified position.
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|FINDNEARESTENEMY]]
[[Category:Scripting Commands ArmA|FINDNEARESTENEMY]]

Revision as of 00:09, 2 August 2006

-wrong parameter ("Arma") defined!-2.92
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
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

Bottom Section