Find_Distance

Category: Objects / Search
Since engine version: 4.9.6.0 CR

Description

Search criterion: finds all objects within the specified maximum distance from the specified coordinates. If no coordinates are specified, the position of the calling object is used.

Syntax

array Find_Distance (int iRadius, int iX, int iY);

Parameters

iRadius:
Maximum object distance.
iX:
[opt] Distance reference point. In local calls, relative to the calling object.
iY:
[opt] Distance reference point. In local calls, relative to the calling object.

Remark

For additional information on the use of this function see FindObjects.
See also: FindObjects
PeterW, Oktober 2006