SRL Archive - RS3 Help

Finding DTM perimeters


Neva Banned

2014-03-15 19:29:13

How do I find the main screen and bank screen perimeters for finding a dtm?
Would it be in an include or what?

Frement

2014-03-15 19:36:12

Mainscreen: MSX1, MSY1, MSX2, MSY2 or MSBox
(You can use these same variables for bank items)

EDIT: For the rest of these types of variables, check Globals.simba.

Sk1nyNerd

2014-03-15 19:40:06

for mainscreen and bankscreen u can do what was said above. u can also pick you own parameters by dragging the green crosshairs over to your client and then using the eye dropper tool to the left of the green cross hairs to pick the top left of your parameter and again to pick your bottom right of the parameter

Clarity

2014-03-15 19:48:26

finding a DTM on the main screen:

findDTM(someDTM, x, y, mainscreen.getBounds())

there are parameters/bounds functions for other interfaces -> minimap.getBounds(), etc.

If you want to make a customized mainscreen search then you could do something like:

searchBox := IntToBox(mainscreen.x1 + 10, mainscreen.y1 + 10, mainscreen.x2 - 10, mainscreen.y2 - 10);
if findDTM(someDTM, x, y, searchBox) then {do something}

Neva Banned

2014-03-15 19:52:13

I <3 SRL, I just wish I was more into scripting(as i get bored very easily). You all are extremely helpful and answer questions quickly.
Thanks