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"

Sprinting sound problems

Hi all ! please help me solve a sound problem which occurs when I'm sprinting....first time I used a branch condition for sound sprinting and nothig was working....I don't know why......and that condition worked in other places..... and second I tried to play the sprinting sound by using the animation graph....at the beginning I thought it is working but....maan the sound is starting to play and stop randomly with that method....and I don't know how else to make the sprinting sound to work properly.....can you please help me out with another solution? please? -> these are the screenshots of what I've tried so far....alt text alt text

Product Version: UE 4.20
Tags:
6.jpg (113.3 kB)
5.jpg (152.4 kB)
more ▼

asked Sep 04 '18 at 06:24 PM in Blueprint Scripting

avatar image

Varvaria
10 1 1 2

avatar image Tuerer Sep 04 '18 at 07:28 PM

I'm not entirely sure, but it seems to me that in the first case when you press Shift the character's speed needs some time to increase to the value of 300 or more, so the condition would always be False at the moment of pressing Shift. What if you remove the Branch completely and just set the sound to Fade In upon pressing Shift?

avatar image Varvaria Sep 04 '18 at 07:54 PM

I don't want to play the sprint sound when I'm not over 300 that's why I used the branch....because if I'm not using the condition, everytime the player is just pressing shift the sound is gonna be played and is not ok at all

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

1 answer: sort voted first

I just found this solution for that branch....and now the condition is working....I tested it and is working smoothly....THANK GOD ! alt text

7.jpg (191.1 kB)
more ▼

answered Sep 04 '18 at 08:04 PM

avatar image

Varvaria
10 1 1 2

(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