Quantcast
Custom play sound - WoWInterface
 
Thread Tools Display Modes
08-08-20, 06:04 AM   #1
lol_i_need_ur_help
A Defias Bandit
Join Date: Jul 2020
Posts: 3
Question Custom play sound

Yo, i need 2do just: PlaySoundFile("Interface\\AddOns\\Feral\\Core\\Sound\\CustomSoundNotFromWoW.ogg")

But im getting error: "PlaySoundFile Error - Invalid fileDataID for sound."

So how2play custom sound from lua?
  Reply With Quote
08-08-20, 12:44 PM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 789
Try https://wow.gamepedia.com/API_GetFileIDFromPath
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Custom play 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