Problems with AcceptBorderQuest()
Posted: Wed Apr 24, 2013 9:26 pm
Hi i'm doing a quest which requires me to
The problem is that the first time it kinda bugs. It will leave the dialogue box open which messes up the process of accepting the quest repeatly for the first time. Sometimes it will be fine but some times it leave the box open so only one quest can be completed but it will continue to "use item" but quest will not be accepted. I found a solution to the problem but I must manuallly close the dialoge box that stayed open and then it proceeds to work the rest of the time. Is there a code I can use to make sure all dialogue boxes have been closed the first round so it can continue to repeat?
Code: Select all
inventory:useItem(241329)
yrest(2000)
RoMScript('AcceptBorderQuest()')
yrest(2000)
player:target_NPC("Kelod Kallol");
CompleteQuestByName()
yrest(1000)
repeat
inventory:useItem(241329)
RoMScript('AcceptBorderQuest()')
player:target_NPC("Kelod Kallol");
CompleteQuestByName()
yrest(1500)
until RoMScript('TBGet()') == 0
end