PDA

View Full Version : Event fired by meeting stone?


Felankor
02-06-2007, 07:02 PM
Hi,

Does anybody know what event is fired when a summon request is received from a meeting stone?

I.e. if your the person being summoned.

Jumpy
02-06-2007, 07:29 PM
The only thing I could find was "CONFIRM_SUMMON".

Felankor
02-06-2007, 08:01 PM
thats what I found but theres no info on it.

Confirm summon sounds to me like something that would be fired when the player accepts the summon request tho.

I also found CANCEL_SUMMON. but there is nothing on wowwiki like SUMMON_REQUEST.

Unless anybody else knows Ill just have to hook CONFIRM_SUMMON and get it to give me a message when it fires so I can find out.

Would there be anything in FrameXML that might have the event?

E.g. the popup that lets you accept or decline the summon.

Felankor
02-06-2007, 08:05 PM
I found this in the StaticPopup.lua file:

StaticPopupDialogs["CONFIRM_SUMMON"] = {
text = CONFIRM_SUMMON;
button1 = ACCEPT,
button2 = CANCEL,
OnShow = function()
this.timeleft = GetSummonConfirmTimeLeft();
end,
OnAccept = function()
ConfirmSummon();
end,
OnUpdate = function(elapsed, dialog)
local button = getglobal(dialog:GetName().."Button1");
if ( UnitAffectingCombat("player") ) then
button:Disable();
else
button:Enable();
end
end,
timeout = 0,
interruptCinematic = 1,
notClosableByLogout = 1,
hideOnEscape = 1
};

So it sounds like it is the right event because there's accept and decline buttons. Ill give it a go, thanks.

Rowaa
04-06-2007, 09:24 AM
It is popup definition, it doesn't means that it is connected to event with same name. Easiest way to find out what even is fired is to use any of numerous event monitoring tools available as addons for WoW.