Thread Tools Display Modes
08-26-18, 11:55 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Raid notice not playing a sound

I am currently looking into an issue that I think I have with raid notices from the Blizzard UI.

Example would be https://www.wowhead.com/spell=263246/lightning-shield used in this encounter https://www.wowhead.com/npc=133379/adderis#encounter

When lightning shield is cast I see a yellowish text with the word [Lightning Shield] in there near what I would guess is the raid notice frame. It sort of looks like a text with a spell link.

The text is in the chat frame too.

I think it is not playing a sound when applied and the function that might be called should be this one:
https://www.townlong-yak.com/framexm...arning.lua#139

If it is the raid notice frame I might be able to fix it with
Lua Code:
  1. local function RaidBossEmote(self,event,...)
  2.   print(event,...)
  3.   if event == "CLEAR_BOSS_EMOTES" then return end  
  4.   local text, playerName, displayTime, playSound = ...
  5.   if not playSound then
  6.     PlaySound(SOUNDKIT.RAID_WARNING)
  7.   end
  8. end
  9.  
  10. hooksecurefunc("RaidBossEmoteFrame_OnEvent", RaidBossEmote)

Has anyone worked on raid warnings/emote lately and has a clue?

*edit*

Forget that. The text is from DBM of one of my party members.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 08-27-18 at 03:48 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Raid notice not playing a sound

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