Results 1 to 2 of 2

Thread: Need help with script: Resuming work when item spawns

  1. #1
    Join Date
    Mar 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Need help with script: Resuming work when item spawns

    Hi guys, I am currently working on my first script(yey!) that telegrabs Wines of Zamorak and then teles back to falador to bank them.

    So far its all going well (It telegrabs inventory full and then teleports to Falador, still have to figure out walking, but that doesn't seem that hard), but I still need some help with some things.
    Namely, how to put the script to idle/make wait after the wine has been grabbed to the point it respawns?
    Right now, I am just using wait with the time of wine to respawn on the lowest worlds. Thus slowing down my script too much.

    Can someone maybe give a small nudge in the right way? :P

    Is it possible to use the minimap to check when red dot appears then resuming work? How to make sure its the right red dot, not some random item dropped on the ground?

  2. #2
    Join Date
    Feb 2013
    Posts
    465
    Mentioned
    6 Post(s)
    Quoted
    221 Post(s)

    Default

    you can set the compass angle to asuch that another player will never be in front of the wine, then presuming you've already grabbed one have the script rememeber where it spawned on the main screen and search a box for pixelshift. If many pixels change then the wine has spawned.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •