Log in

View Full Version : I'm very confused! Care to help me understand?



BeastofOne
02-14-2012, 11:32 PM
:duh:Wrong forum.:duh:
Sorry,
BeastofOne

P.S. I still need help, only it was scripting help I needed. Check in Scripting help forums if you wish to help me!

lilcmp1
02-14-2012, 11:41 PM
There are lots to learn lol. TPoint are like an (x,y) coordinate. TPoint Array is a bunch of them. FindColorsSpiralTolerance is finding all the coordinate points with the color '52354' and storing it as GPA. All the coordinates with '524459' color are stored as RPA. These points are found within a box created by the next four points. MSCX and MSCY are main screen center coordinates. Since it's spiral tolerance these are the point it starts searching from. It starts from the middle of the screen and spirals out.

In order to find out where it's looking you'd have to see what box he searched in. Ppoints is a box 225, 125, 295, 145. To find out a general idea of where coordinates are designate the rs screen with the crosshairs and drag to rs screen then click on the dropper and click a spot and it will return the points.

Here is a guide I found handy on TPoint Arrays although there are other guides under 'Scripting Tutorials.' TPA is under the advanced section. http://villavu.com/forum/showthread.php?t=35504