ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: silath44 on August 04, 2015, 11:54:53 PM
-
Hey, I am working on a personal script which may go public at some point down the road. I am looking for a way to cancel an active quest. Or all active quests i'm not picky. Thanks in advance.
-
The quest are no specific order, if your quest to cancel is always in the same location, u can you might be able to open the quest log and size gump and XY location of cancel.
-
Is that reliable? IE if I change my uo window size, or if I run the script on a different computer will it still cancel properly?
-
if you use gump name and size, it will work across PC, that how most of the script are build. ie, crafting. Not sure if you can even pop the quest log
-
Two ways To open Quest log ...
(1) Open paper doll, select Quests
(2) event macro 8 19 (http://wiki.easyuo.com/index.php/Event_Macro)
Number 2 is far easier,
-
Thank you for your help guys I think I can work it from here! If you think of anything I might run into that's tricky involving this ill keep checking for a few more days.
-
Just in case anyone needs this for the future, this is working for me.
Sub QuestClear
event macro 8 19 ; Open Quest log
wait 20
contpos 0 0
wait 5
click 378 150
wait 5
click 195 485
wait 5
click 300 230
return
-
nice work.