nearObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (fixed example)
Line 24: Line 24:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_list = position player nearObjects 50</pre> |= Example 1
|x1= <code>_list <nowiki>=</nowiki> [[position]] [[player]] '''nearObjects''' 50</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 02:21, 4 August 2006


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

Description

Description:
Find objects in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed.
Groups:
Uncategorised

Syntax

Syntax:
position nearObjects radius or [typeName, radius]
Parameters:
position: Array
radius: Number
[typeName, radius]: Array
Return Value:
Array

Examples

Example 1:
_list = position player nearObjects 50

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