Author Topic: Clicking on Ant Holes  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

Offline CrisisTopic starter

  • Global Moderator
  • *
  • *
  • Posts: 3022
  • Activity:
    3%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +206
  • Referrals: 2
    • View Profile
Clicking on Ant Holes
« on: March 08, 2015, 03:45:20 PM »
0
Where you click on the ant holes decides which direction you end up inside. The scripts and subs that I have seen have you drop in randomly. Is there a way to target a specific part of the hole so you always end up in the same spot inside? I am guessing not since it is not a gump but one can hope.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Clicking on Ant Holes
« Reply #1 on: March 08, 2015, 05:52:45 PM »
0
Mark the rune on the south side 2 step from the hold.  If u mark on the north it random

Have a look at EN's library

Code: [Select]
Sub ENs_EnterAntHole
   set !oldCharposx #CharPosX
   set !OldCharPosy #CharPosY
   set !EnterHoleTries 5
   If %Antholetypes = N/A
      set %AntHoleTypes PUI_SUI_RVB
   Finditem %AntHoleTypes G_3
   If #Findcnt >= 1
     {
     set #lObjectID #findid
     Repeat
       set !EnterHoleTries !EnterHoleTries - 1
       event Macro 17 0
       Wait 4
     Until #charposx <> !Oldcharposx || #Charposy <> !oldCharposy || !EnterHoleTries <= 0
     }
Return ( #charposx <> !Oldcharposx || #Charposy <> !oldCharposy  )
« Last Edit: March 08, 2015, 05:55:03 PM by The Ghost »

Offline CrisisTopic starter

  • Global Moderator
  • *
  • *
  • Posts: 3022
  • Activity:
    3%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +206
  • Referrals: 2
    • View Profile
Re: Clicking on Ant Holes
« Reply #2 on: March 08, 2015, 06:14:32 PM »
0
Is that south side 2 away for any ant hole?

Tags: