AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
Developer Discussions
»
Lua/XML Help
»
Custom play sound
Go to Page...
Reply
View First Unread
Thread Tools
Display Modes
08-08-20, 06:04 AM
#
1
lol_i_need_ur_help
A Murloc Raider
Join Date: Jul 2020
Posts: 7
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?
lol_i_need_ur_help
View Public Profile
Send a private message to lol_i_need_ur_help
Find More Posts by lol_i_need_ur_help
08-08-20, 12:44 PM
#
2
Rilgamon
Premium Member
Join Date: Sep 2009
Posts: 822
Try
https://wow.gamepedia.com/API_GetFileIDFromPath
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Rilgamon
View Public Profile
Send a private message to Rilgamon
Find More Posts by Rilgamon
Reply
WoWInterface
»
Developer Discussions
»
Lua/XML Help
» Custom play sound
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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