nearTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (nearServer? ;))
(populated)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unknown yet. |= Description
| Returns a list of targets within the defined range. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| ? '''nearTargets''' ? |= Syntax
| unit '''nearTargets''' range |= Syntax


|p1= |= Parameter 1
|p1= unit: [[object]]|= Parameter 1
|p2= range: [[Number]]|= Parameter 2


| ? |= Return value
| [[Array]], consisting of:<br>
position (perceived, includes judgement errors and memory),<br>
type (perceived, gives only what was recognized),<br>
side (again, percieved side),<br>
subjective cost (positive for enemies, more positive for more important or more dangerous
enemies),<br>
object (what object, can be used to get more information if needed) |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= ? |= Example 1
|x1= player nearTargets 100 |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:48, 17 May 2007

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

Description

Description:
Returns a list of targets within the defined range.
Groups:
Uncategorised

Syntax

Syntax:
unit nearTargets range
Parameters:
unit: object
range: Number
Return Value:
Array, consisting of:
position (perceived, includes judgement errors and memory),
type (perceived, gives only what was recognized),
side (again, percieved side),
subjective cost (positive for enemies, more positive for more important or more dangerous enemies),
object (what object, can be used to get more information if needed)

Examples

Example 1:
player nearTargets 100

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