![]() |
Adding Sound
Ive asked about this before and I tried to see if there was anything on this topic already but I wasnt able to find it, maybe I wasnt using the right search words. Anyway, my question is this, Is there any way to add sound to a window when it closes for whatever reason. I am mainly interested in this as I really came to like a pet window that had a sound component when the pet died. Basically I dont even need to have the option button to toggle this function off/on. Just wondering if there is a snippet of code that can be added to a window mod so that a sound is triggered when the window closes, for whatever reason. Thanks in advance if anyone is able to help me with this :)
It appears I have posted this in the wrong area pls delete and Ill post it elsewhere. |
There is a collection of sounds available to the UI described in the UI Customization doc around page 12. Just use one of those values in the HideSound attribute of the UI mod's page.
Like: <Page Name="SomeUI" HideSound="skill_up" /> |
Thanks
Thank you, Ill try it out, I dont know anything about modding though so its gonna be alot of trial and error but thanks for starting me in the right direction.
|
If you need functional examples to experiment on, my pet window and timer window both use sound.
I don't remember how much of a pain it was to get the list of available sounds - if they were listed somewhere, or if I had to do a search of the eq2 executable, but there's quite a number of them in the timer window mapped out. |
Quote:
|
| All times are GMT -5. The time now is 09:22 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI