nearObjects

From Bohemia Interactive Community
Revision as of 18:56, 1 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


position nearObjects radius or [typeName, radius]


Operand types:

position: Array

radius: Number

[typeName, radius]: Array

Type of returned value:

Array

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