nearObjects: Difference between revisions
Jump to navigation
Jump to search
m (reset arma ver) |
m (Fixed syntax) |
||
Line 13: | Line 13: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| position '''nearObjects''' radius | | position '''nearObjects''' radius |= Syntax | ||
|p1= position: [[Array]] |= Parameter 1 | |p1= position: [[Object]] or [[Array]] |= Parameter 1 | ||
|p2= radius: [[Number]] |= Parameter 2 | |p2= radius: [[Number]] |= Parameter 2 | ||
| | | [[Array]] |= Return value | ||
____________________________________________________________________________________________ | |||
|s2= position '''nearObjects''' [typeName, radius] |= Syntax | |||
|p21= position: [[Object]] or [[Array]] |= Parameter 1 | |||
| [[Array]] |= Return value | |p22= [typeName, radius]: [[Array]] |= Parameter 2 | ||
|r2= [[Array]] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:01, 27 October 2006
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
- Parameters:
- position: Object or Array
- radius: Number
- Return Value:
- Array
Alternative Syntax
- Syntax:
- position nearObjects [typeName, radius]
- Parameters:
- position: Object or Array
- [typeName, radius]: Array
- Return Value:
- Array
Examples
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