View Full Version : No UI Sound while paused
11-18-2010, 05:34 PM
Hey guys! I've got a pause menu using a SoundTheme for my Clik button events (rollOver, click, etc). All the sounds work fine while the game is in an un-paused state, but not while the game is paused. Is there a DefaultProperties line or some other way to enable sounds from an extended GFxMoviePlayer while paused? Thanks a lot
11-23-2010, 04:26 AM
Add to defaulproperties your class:
11-23-2010, 10:25 AM
I have that property set in the Movie class but no sound. The movie animates and everything fine, and it seems to be triggering the sounds silently because when I press 'Resume' to unpause I can hear them then.
Perhaps I'm missing some gfx property in the Actionscript?
I have this currently:
_global.gfxExtensions = true;
Is there a general way to play sounds through a pause event, like you would for background music or something?
11-23-2010, 02:45 PM
Try changing the Sound Class for the sounds you want to use to the UI class (right-click SoundCue, choose Sound Class -> SFX -> UI). Sound Classes have a property that allows them to play when the game is paused that must be true and the UI class should have that set.
11-23-2010, 04:08 PM
Awesome! Again you save the day for me ffejnosliw.
That makes sense now. The cues were set to 'Master'. I was testing with the UDKFrontEnd sound theme so I assumed it would work for me, but I guess Unreal must not be paused during that state.
11-23-2010, 04:20 PM
The main menus in UT3 and the UDK example game are usually set overlayed on a map which is running to be able to do things in the background to give them a more dynamic feel so you are correct that the game wouldn't be paused in that case.
11-24-2010, 12:03 AM
Thank you so much!
This is an answer to my question in the topic below. Just change the class of sound ...
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.