Thread Tools Display Modes
08-20-08, 12:08 PM   #1
sebwow
A Defias Bandit
Join Date: Aug 2008
Posts: 2
[Help] Accept Corpse popup

Hi guys,

i'd like my addon to auto accept get back to my corpse when it is in range.

I did this :
this:RegisterEvent("CORPSE_IN_RANGE");

function myaddon_OnEvent(event)
if (event == "CORPSE_IN_RANGE") then
DEFAULT_CHAT_FRAME:AddMessage("**** CORPSE_IN_RANGE", 1, 0, 0);
end
The message appears in my log. The popup appears.
But i don't know what to do to accept the popup window.

please help

Seb.
  Reply With Quote
08-20-08, 12:31 PM   #2
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
Wiki says this:

http://www.wowwiki.com/API_RetrieveCorpse
__________________
Lyn • I'm a mess of unfinished thoughts
  Reply With Quote
08-20-08, 12:32 PM   #3
sebwow
A Defias Bandit
Join Date: Aug 2008
Posts: 2
thanks,


strange i searched for "corpse" in wowwiki and it didint find anything
  Reply With Quote
08-20-08, 02:27 PM   #4
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
The wowwiki search is fairly unreliable. It was very good. But they did any changes half a year ago. (don't know exactly what and not motivated to find it out) Since this time it's more or less useless.

Same is with the site itself. If I browse the site with IE there are tons of errors and it's slow like hell.

Originally Posted by sebwow View Post
strange i searched for "corpse" in wowwiki and it didint find anything
  Reply With Quote
08-20-08, 03:01 PM   #5
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
I find http://wowprogramming.com/docs/ (the website connected to the book "World of Warcraft Programming") very useful. It's not searchable in the same sense as the Wiki is but if you know kinda what you're looking for (event or API-related) you can just navigate to the fitting category and use the browsers in-built search to find what you're looking for.
  Reply With Quote
08-20-08, 03:18 PM   #6
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
Just use google and type in "wowwiki <yourkeyword>"
__________________
Lyn • I'm a mess of unfinished thoughts
  Reply With Quote
08-20-08, 04:10 PM   #7
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
CTRL+F ftw
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » [Help] Accept Corpse popup


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off