Forum rules - please read before posting.

Hey guys. How to insert sound when jumping? Help.

I can't put a sound when the player jumps. As shown in the image below, I tried using ''OnStart'' cutscenes with two action lists so that when I press the jump key, a sound is triggered. I tried to use this feature also on the player object and it didn't work.

https://uploaddeimagens.com.br/imagens/BjL_dn4

Comments

  • edited February 2023

    "OnStart" only plays once when the Game starts, that's not for player input, but when you make a little intro Cutscene or something like that. And a Quicktime event is something else entirely.
    To hear the Jump every time you'd have to make it play everytime you hit the space bar for example.

    If you don't want to write Script, the best way would be to use "Active Inputs".

    • You open Action Inputs Window
    • Put in the Button you want to use
    • Create an actionlist inside it
    • Make the GameObject that plays your Jump sound, and add the AC sound script on it.
    • Add the play Sound Action to that Actionlist and add your sound.

    It should look something like this:

    https://uploaddeimagens.com.br/imagens/xgju1BM

  • it worked thank you very much.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.