Implement QUEST_LOG_CRITERIA_UPDATE
This event is in the new documentation, but after going through UI code and extensive use of eventtrace I can't seem to detect any trace of its existence. An event telling us that a given quest has had it's criteria updated would be very handy since otherwise you have to jump through a bunch of hoops to get this info.
|
Quote:
EG. Ancient Mana has the criteria of 3/3 Ancient Mana Nodes to find. Each trigger of that event will update the first number until it reaches the required number and inform you that the quest is completed via QUEST_COMPLETE I think if memory serves. |
It does indeed appear to be that they have removed that event from the game, I just tried it on the world quest that has the squirrels and nuts and the event didn't trigger. I definitely recall in the past this was working for the regular quests. So time to check those out just in case they don't work with world quests.
Also, just noticed that even QUEST_COMPLETE doesn't trigger. Did they remove these and forgot to remove them from the documentation I wonder . QUEST_WATCH_UPDATE also doesn't trigger despite actively working on a quest being watched and listed in my objective tracker. It does look like using QUEST_LOG_UPDATE in combination with other functions are the only way to go .. |
QUEST_COMPLETE does fire, but it's not firing to say the quest can be turned in. It's part of the GOSSIP/Quest giver bit. When you click continue on the Quest dialog while handing it in, that's when it fires. It doesn't have the best name.
|
Quote:
|
As of my last export (Aug. 7) this event is registered for and referenced in QuestMapFrame.lua
|
Quote:
Lua Code:
|
Quote:
EG. Changing the Display Honor as Experience Bar doesn't trigger the CVAR_UPDATE because in their code they haven't done something along the lines of SetCVarBool("HonorAsExperience",true,"HONOR_AS_EXPERIENCE"). That third parameter would be what you test for on the CVAR_UPDATE event. However, if you adjust the option setting to always display action bars ( this will show the outline of the buttons without icons in ), it will trigger the CVAR_UPDATE with the argument "ALWAYS_SHOW_MULTIBARS_TEXT" which is the 3rd value when they set their CVAR with SetCVarBool("alwaysShowActionBars",true,"ALWAYS_SHOW_MULTIBARS_TEXT") |
Ye I noticed the specific buttons in Blizzard's UI I was testing with didn't have the third argument filled in, hence why I deleted the comment.
|
All times are GMT -6. The time now is 10:43 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI