Chat message on Start/Complete quest
dolphinspired opened this issue ยท 1 comments
PMQ should tell a player when they've started or finished a quest in the chat window. Subscribe to the AppEvent "QuestStatusChanged" which publishes a quest object that you can pull the name and status from. If status == addon.QuestStatus.Active
, then the quest was just started. If status == addon.QuestStatus.Finished
, then the player has just clicked "Complete Quest".
Requirements:
- New subscription should be added to QuestLog.lua (not the lowercase questlog.lua)
- You can write yellow text to the console with
addon.Logger:Warn()
- Text should match up with the text that WoW publishes for starting/completing real quests
- Search for "QuestStatusChanged" to see where else it's subscribed to, and use that as an example to help you get started
Resolved by #83