Now that I have been able to test my addon (SMQueue) with Scenarios via Theramore's Fall, I am having some trouble with a few things. In particular, I have included an option that allows the user to display an introduction and a goodbye message to the party when entering and leaving the group, and the ability to leave the group with confirmation. To display the introduction message, I watch the event LFG_PROPOSAL_SHOW, set a flag for entering the instance, and then process that flag one time during GROUP_ROSTER_UPDATE to display the message to the group. This works for both Dungeon Finder and Raid Finder just fine, but Scenarios don't seem to fire that event. As far as I can tell, they don't seem to have a proposal event, even though pet battles, pvp battlegrounds, challenge modes, and everything else seem to. So I am trying to figure out what event or what other way (if there is one anyone is able to think of) to send a message to the party upon entering the scenario.
Secondly, to send the goodbye message to players, I follow the LFG_COMPLETION_REWARD event, and then follow the START_LOOT_ROLL and CHAT_MSG_LOOT events until the loot is finished being rolled on, and then print the message to the party/raid and pop up the dialog to leave the group if they want to. Scenarios do not seem to fire any of the events listed above, so again I am wondering what I can do to output the message to the party/raid and then show the confirmation dialog. I have a subscription to WoWProgramming.com (and the third edition of the book which is now waaaay out-dated! LOL) and they have a few events revolving around scenarios listed but they are all undocumented, and google returns nil as well. They are listed below. Doing my own finicking in game to figure stuff out as well, any help is appreciated. Thank you.
Code:
SCENARIO_CRITERIA_UPDATE
SCENARIO_POI_UPDATE
SCENARIO_UPDATE