Thread Tools Display Modes
01-08-06, 12:21 AM   #1
Kripty
A Murloc Raider
Join Date: Jan 2006
Posts: 6
Floater for Ressurection?

Ok needed some help, i wanted to have a floater for ressurection appear when i target a ressurectable corpse. is this possible and how?

kripty
  Reply With Quote
01-08-06, 01:11 AM   #2
Kripty
A Murloc Raider
Join Date: Jan 2006
Posts: 6
nm

ok i figured it out

1. unit is ghost, show: 2
2. target is not: friendly player, hide

can ne1 point out possibly better ways, or nething i am missing?
  Reply With Quote
01-08-06, 01:59 AM   #3
Kripty
A Murloc Raider
Join Date: Jan 2006
Posts: 6
insignia of the horde

ne idea how this could be hidden except when hit by an effect that it could cure?

kripty
  Reply With Quote
01-08-06, 07:02 AM   #4
Lozareth
An Onyxian Warder
 
Lozareth's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 366
Rez:

1. Unit Is Ghost - target; Show
2. Health - target <= 0; Show
3. Health - target > 0; Hide; Overridden By: 1

Insignia:

Install Discord Macro Functions. Put these in the floater's scripts:

OnLoad:
this:RegisterEvent("UNIT_AURAS");

OnEvent:
if arg1 == "player" then
if DMF_XDebuff("fear") or DMF_XDebuff("stun") or DMF_XDebuff("root") then
DAB_Floater_Show(this:GetID());
else
DAB_Floater_Hide(this:GetID());
end
end
__________________
High Pope of the Divine Chihuahua
http://www.discordmods.com
  Reply With Quote
01-09-06, 02:54 AM   #5
Kripty
A Murloc Raider
Join Date: Jan 2006
Posts: 6
thank you and more questions

ok thanks a lot they seem to be working well now.
I have two more questions same basic idea, floaters showing up at specific times

I have two buffs, Power Word:Fort, and Inner Fire, I tried setting the controls so that they appear only when the buff is not active on myself, but that doesn't seem to be working, how would i write the coding for this?

2nd question, I also have a racial trait for undead, which works pretty much like insignia for the horde but differs in what it works on, can i write the scripting just like the example above, and if so what words do i need to change.

Thank, Kripty
  Reply With Quote
01-09-06, 05:28 AM   #6
Lozareth
An Onyxian Warder
 
Lozareth's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 366
Buff Active - player, Power Word: Fortitude; Hide
Buff Inactive - player, Power Word: Fortitude; Show

Buff Active - player, Inner Fire; Hide
Buff Inactive - player, Inner Fire; Show

For Escape Artist you'd have to install Discord Macro Functions since detecting roots is tricky. With DMF, you can use this code in the scripts for the floater:

OnLoad:
this:RegisterEvent("UNIT_AURAS");

OnEvent:
if arg1 == "player" then
if DMF_XDebuff("root") then
DAB_Floater_Show(this:GetID());
else
DAB_Floater_Hide(this:GetID());
end
end
__________________
High Pope of the Divine Chihuahua
http://www.discordmods.com
  Reply With Quote
01-11-06, 10:22 PM   #7
morbidmachine
A Kobold Labourer
Join Date: Jan 2006
Posts: 1
Along the lines of Inner Fire....

Is there anyway to make Inner Fire self cast when you're no longer buffed with it without having Inner Fire on any visible bar?

I use to depend on a mod called AutoBuff for this; however, when I started having DAB check for a specific event to show me a floater, it started giving me errors. I'd much rather have all the functionality I need handled by DAB if at all possible. It's a wonderful tool.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » Floater for Ressurection?


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