Find_Distance

Category: Objects / Search
Since engine version: 1.0 OC

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 radius, int x, int y);

Parameters

radius:
Maximum object distance.
x:
[opt] Distance reference point. In local calls, relative to the calling object.
y:
[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, 2006-10