Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/17/18, 04:03 PM   #1
Haaxor1689
 
Haaxor1689's Avatar
Join Date: Dec 2017
Posts: 9
Multiple smaller questions about events and such

I have decided to make an addon to speed up Abah's watch motif farming. I would like to solve some issues and currently don't know how:

1. How can I close a chatter?
I have an EVENT_CONVERSATION_UPDATED callback, that get's called when you enter the 2nd chatter screen with the turn in nps, where is only "goodbye" option. How can I close this automatically?

2. How to open the quest reward container?
I am auto completing the quest with EVENT_QUEST_COMPLETE_DIALOG callback and then by calling the CompleteQuest function. How can I then open the quest reward?

3. Is it possible to automatically interact with object I have reticle on?
With current implementation, player needs to just spam the interact key, while unwated dailies from tip board are abandoned and the desired one is kept. Is there a way to automatically just interact with the board?

4. How to check if a quest is in players journal at addon load?
I would like to register for EVENT_CHATTER_BEGIN only if the quest is active. This needs to be done in init, in case player reloads the UI, but my callback is unnecessarily called all the time.

I would be really glad if you could answer any of my questions Thanks
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Multiple smaller questions about events and such


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off