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"

UMG Widget slider to lower or increase button sound

I am currently creating a UMG Widget with a sound slider. The slider will increase or decrease the volume of the buttons click sound in the main menu. The problem is that I don't know how to reference the sound from the content browser. Whilst selecting a button in the UMG Widget Designer there is an option to add [Pressed Sound] which I have done. If I want to reference that sound, how would I go about doing that?

Product Version: UE 4.18
more ▼

asked Jan 20 '18 at 10:29 PM in Blueprint Scripting

avatar image

43 5 11 14

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

2 answers: sort voted first

I don't think you can do it if you bind a sound through [Pressed Sound], but you can do it like shown below.

You need to create a Sound Cue for your button sound and assign it to the ButtonSound variable inside the Widget (of type Reference to Sound Cue). Volume is of type Float.

The initial settings of Volume determines the starting volume at which the sound will be played. From there on it can be adjusted using the slider.

alt text alt text

more ▼

answered Jan 21 '18 at 05:32 PM

avatar image

2.2k 10 6 12

avatar image EliasWick Jan 21 '18 at 05:53 PM

Hey Marco! Thank you very much for all the help! It's been driving me crazy for the last 24 hours!

avatar image vr_marco Jan 21 '18 at 06:01 PM

Took me also a bit to figure out. If you don't spawn the sound first there is no way to control its volume.

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

Hi marco can you tell me how to animate visibility of multiple object via slider .

Really appreciated Thanks

more ▼

answered Jan 27 '19 at 10:05 AM

avatar image


(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