Circle / Wedge Query Function
By zardOz2 – Custom level – uploaded 12 May 2015 from Windows
PlayEdit 8 players liked this.
Issues trying to play levels?
Troubleshoot issues playing levels
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 - Play in browser (BETA)
Comments
No comments have been posted. Be the first to comment!