Thread Tools Display Modes
10-30-11, 10:53 AM   #1
Egoplant
A Defias Bandit
Join Date: Oct 2011
Posts: 3
How do you create a raid warning like DBM?

How do you create a raid warning like DBM?
  Reply With Quote
10-30-11, 11:02 AM   #2
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
Please be more specific. If your talking about a regular raid warning its just /rw text
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
10-30-11, 11:09 AM   #3
Egoplant
A Defias Bandit
Join Date: Oct 2011
Posts: 3
I just want text on the screen. I'm really confused about how to create a widget.
  Reply With Quote
10-30-11, 01:58 PM   #4
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 150
What you want, what does it need to do other then sent raidwarning, as in in what should be warned for?
__________________

Tukui | Github
  Reply With Quote
10-30-11, 02:34 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
There are several ways of doing this, the easiest that I can think of is to use the system already in the default UI. This uses the existing function RaidNotice_AddMessage(frame,message,colorTable[,duration]).

Code:
RaidNotice_AddMessage(RaidWarningFrame,"Some message here",ChatTypeInfo["RAID_WARNING"]);
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How do you create a raid warning like DBM?

Thread Tools
Display Modes

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