Circle / Wedge Query Function

zardOz2 - Custom level - May 12, 2015 from Windows
Revision #2, updated Jan 1, 1970
Play Edit 8 players liked this.

This function is designed to make the current square query box into a circle or wedge eminating from a central point...

HOW TO USE:
myvariable=arcquery(X-position, Y-position, radius, arcStart,arcSize, layer)

Will return a table of object ID#s of any object within the radius of a wedge eminating from the X/Y position. the arcStart and arcSize numbers are based on the 0.0-1.0 angle values, for a full circle use 0 and 1 for your arcStart and arcSize values.

If the layer argument is left blank it will default to layer 1.

Downloads: 224 - Level ID: 15637