hi,
i hope i'm in the right place for my question
I want to make an addon that automaticaly accept to get back corpse when corpse is in range.
So
1)
this:RegisterEvent("CORPSE_IN_RANGE");
2)
elseif (event == "CORPSE_IN_RANGE") then
DEFAULT_CHAT_FRAME:AddMessage("**** CORPSE_IN_RANGE", 1, 0, 0);
StaticPopup_Hide("?????");
Now in 2) the Popup that ask me if i want to get back my corpse popup, but i dont know how to accept it with lua code.
Somebody know how to do it? i didnt find anything in wowwiki dev
please help
regards,
Seb