nearObjects: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<h2 style="color:#000066">'' | <h2 style="color:#000066">'''''postion'' nearObjects ''radius'' or ''[typeName, radius]''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
position: | '''position:''' [[Array]] | ||
radius | '''radius:''' [[Number]] | ||
'''[typeName, radius]:''' [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 22: | Line 24: | ||
'''Description:''' | '''Description:''' | ||
Find objects in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed. | Find objects in the circle with given radius. | ||
If typeName is given, only objects of given type (or its subtype) are listed. | |||
Revision as of 18:55, 1 July 2006
postion nearObjects radius or [typeName, radius]
Operand types:
position: Array
radius: Number
[typeName, radius]: Array
Type of returned value:
Compatibility:
Version 2.92 required.
Description:
Find objects in the circle with given radius.
If typeName is given, only objects of given type (or its subtype) are listed.
Example:
_list = position player nearObjects 50