Find_InRect

Category: Objects / Search
Since engine version: 1.0 OC

Description

Search criterion: finds all objects within the specified rectangle.

Syntax

array Find_InRect(int x, int y, int width, int height);

Parameters

x:
X position of the top left corner of the search rectangle. Relative to the calling object's center in local calls.
y:
Y position of the top left corner of the search rectangle. Relative to the calling object's center in local calls.
width:
Width of the search rectangle
height:
Height of the search rectangle

Remark

For additional information on the use of this function see FindObjects.
See also: FindObjects
Clonkonaut, 2006-07