View Single Post
10-13-16, 02:36 PM   #4
upirlikhyi
A Defias Bandit
 
upirlikhyi's Avatar
Join Date: Oct 2016
Posts: 3
Originally Posted by pas06 View Post
something like this:
Code:
local f=CreateFrame("Frame")
local color = {r = 1, g = 1, b = 1} --white
local text = GetSpellInfo(205022)
f:RegisterEvent("ZONE_CHANGED_NEW_AREA")
f:SetScript("OnEvent",function(self,event)
	RaidNotice_AddMessage(RaidWarningFrame, text, color)
	PlaySound("RaidWarning")
end)
it plays a sound and writes the name of the spell in the raidwarning frame
K thank you very much
  Reply With Quote