x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Persistent Audio Settings

Hi,

I am having a difficult time with having persistent audio settings. I have created sound classes and code to set and get volume for each sound class. Now it worked but on level change the options were set back to default.

So then I added SoundMixer and set sound for SoundMixer - the settings were persistent across level load but I could not read from it current volume value (since soundclass vlaue reseted the sliders also reseted). Is it possible?

Next question is how to store SoundSettings so I could load them on game start? Is UserGameSettings.ini the best place?

Product Version: UE 4.15
Tags:
more ▼

asked Jun 02 '17 at 06:24 PM in Everything Else

avatar image

jjwisniewka
23 4 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Use a SaveGameObject, and have an actor load saved settings and set values on a map that loads before any game content. Just an empty map with initiation logic that ends with opening the first game map. You can use the same class to later run the logic to set and save new volume settings.

more ▼

answered Jan 15 '18 at 09:41 AM

avatar image

Fantasifall
239 5 8 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question