Jump to content
Amberleaf

[Runescape] Finding a color on the screen and clicking it.

Recommended Posts

AmberIceGiants Range/Mage script

 

What's the best way of finding objects that can move and then making the mouse click accurately?

 

I'm trying to make a range/mage script that has a safe spot check.

 

safespot.jpg

 

I've been fiddling with it for ages but can't seem to get anything that can follow the targets & click at the right time, aswel as checking if it needs to run to safe spot.

 

Any advice?

 

---MERGED---

 

How would i make it detect the word 'Attack' at the top left of that picture and left click?

Edited by Freddy
Link to comment
Share on other sites

Check out IsUpText (from OSI includes) for finding the text.

 

As for the detecting when to run/hide: OSI doesn't have a routine for getting the minimap dots (yet?) so I would play around with FindMMColorTolerance and calculating the Distance to the minimap center (you the player are always center of minimap unless on world edge).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...