nearObjects

From Bohemia Interactive Community
Revision as of 20:16, 29 June 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


postion nearObjects radius or [typeName, radius]


Operand types:

position: Object or Array

radius or [typeName, radius]:

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