ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Crisis on March 08, 2015, 03:45:20 PM
-
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.
-
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
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 )
-
Is that south side 2 away for any ant hole?