Values for PlaySound()
Any one know what the string values are for playsound()? I assume its a path to a sound file but what are the inbuilt sound? any one know?
Could I use external sound files (similar to how textures work)? If so any one know the format? Thank You. |
zgoo this and see what you find.. I'm at work or I would test it myself:
Lua Code:
This may be old/depreciate because I am referencing files from an old game0000.dat. |
Quote:
example: SOUND.GENERAL_ALERT_ERROR = "General_Alert_Error" |
Little trick, if you want to know what a particular sound is that is played by the UI, you can likely find out with (via /script):
Lua Code:
Doesn't work for everything, though. Then there's probably one or more constant in SOUNDS (/Zgoo SOUNDS) which has that string as its value, which you can use in your own code. |
All times are GMT -6. The time now is 11:10 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI