View Single Post
  #5  
Unread 03-12-2005, 01:08 PM
SOE_Bobble SOE_Bobble is offline
EQII Developer
Yes this person is from Daybreak!
 
Join Date: Aug 2004
Posts: 82
Default

Quote:
Originally Posted by taco-man
not sure how the buff window works but would it be possible to use the onHide event for the icons to trigger a sound when a buff fades?
Yes. You could easily hook into the HideSound property.

I may live to regret not testing this first. However at least I double checked the property names.

Adding one of the sound names to HideSound or ShowSound (or PressSound, ReleaseSound or any of the other *Sound) properties will play a named sound (see the list) in the game only. UIBuilder doesn't know about the sound list.

If you specify a wave file instead (current skin directory or default skin directory or specify a subdirectory and file) the sound will also play in UIBuilder.


PressSound="sounds/button.wav" - will play in UIBuilder and the game
PressSound="skill_up" - will only play in the game

Blame me and not Cat if the sounds aren't working properly.
MrBobble
Reply With Quote