ParaToxic Posted April 21, 2012 Share Posted April 21, 2012 Hey I would like to load a gamescene via LoadScene and disable the sound before the call,because I have some sound "emitter" in the scene and it isn't very good to hear the ambient and some other sounds while loading the scene. Is there a way to disable/enable all sounds in LE? Thanks Quote Link to comment Share on other sites More sharing options...
Daimour Posted April 21, 2012 Share Posted April 21, 2012 Try to use "Active" property. (If you use standard sound entity of course.) Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 21, 2012 Share Posted April 21, 2012 I have a class called sound manager. You can add sound of different categories to it. This way you can pause, or lower volume on entire groups of sound. Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted April 21, 2012 Author Share Posted April 21, 2012 The idea with the active value is good,so I set the sound entities not to active and set them later in the game to active? To find the entitys I have to use FindChild for the scene and then set the entity keys,but what I have to search for with the Findchild funktion ?(Maybe the name of the Sounds?) Quote Link to comment Share on other sites More sharing options...
Daimour Posted April 21, 2012 Share Posted April 21, 2012 The idea with the active value is good,so I set the sound entities not to active and set them later in the game to active? Yes. ...but what I have to search for with the Findchild funktion ?(Maybe the name of the Sounds?) Name of entity, path to model, path to sound, some custom property... As you want. Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted April 22, 2012 Author Share Posted April 22, 2012 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.