I posted a thread yesterday asking for help and while help was provided I'm still lost, so any help would be appreciated.
I'll post the relevant code for what I've got so far:
That SendAddonMessage is triggered by a button press but I didn't include that part because I don't think it's relevant for this troubleshooting.
if not ReceiveSoundFrame then
ReceiveSoundFrame = CreateFrame("Frame")
local function OnEvent(self, event, prefix, message, channel, sender)
if prefix == "OWQ" then
print("Playing sound sent from: " .. sender)
local frame = ReceiveSoundFrame
local soundFile = "Interface\\AddOns\\OverwatchQuotes\\Sounds\\Pharah\\Justice_rains_from_above!.ogg"
SendAddonMessage("OWQ", soundFile, "RAID")
So what happens when I click that button is it plays the soundfile, and it prints the ""Playing sound sent from: " .. sender" line, but my friend who also has my addon does not hear or see anything. I'm not sure if the example I'm looking at has outdated/bad code (it's from 7 years ago) or if I somehow put it together wrong but if anyone could steer me in the right direction I'd be very appreciative.