Jump to content

Disable sound


ParaToxic
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...