Thread Tools Display Modes
06-18-13, 01:05 PM   #1
Partykilla
A Kobold Labourer
Join Date: Jun 2013
Posts: 1
Post Auto Decline Arena PopUP

Hello, I've come pretty far with my addon, now I'm trying to add a function to auto decline arena popup (Not the queue, but accept / decline invitation)

This is where I'd like it to decline. I tried to make it with an event, but could not find the right event for this,
how do I grab the arena accept decline popup window?

Ty in Advance
  Reply With Quote
06-18-13, 01:44 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Code:
hooksecurefunc('StaticPopup_Show', function(name) end)
That should get you going

https://github.com/tekkub/wow-ui-sou...opup.lua#L3407
https://github.com/tekkub/wow-ui-sou...opup.lua#L1666

Last edited by p3lim : 06-18-13 at 01:47 PM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Auto Decline Arena 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