How To Assign Recurring Sound To An Object For Multiple Interactions

Discussion in 'How Can I...?' started by mazzi, Sep 4, 2018.

  1. mazzi

    mazzi Boxer

    Joined:
    Sep 3, 2018
    Messages:
    4
    Likes Received:
    1
    Hi,
    I'm creating a game where each stage is only one scene. Within the scene I have objects that needs to trigger sound each time the character interacts with them. The problem is that the sound won't trigger more than once. Does anyone knows how to make this recurring reaction sound?
    Thanks!
     
  2. Lobsters

    Lobsters Boxer

    Joined:
    Aug 21, 2018
    Messages:
    68
    Likes Received:
    17
    There may be other ways to do this, but i set up an advanced move component for my character and placed the sound in that.
     

    Attached Files:

    mazzi likes this.
  3. mazzi

    mazzi Boxer

    Joined:
    Sep 3, 2018
    Messages:
    4
    Likes Received:
    1
    Thank you for your answer!
    I did that but the sound still works only once and won't repeat when my character interacts with the same object. Did you have the same issue?

     
  4. Lobsters

    Lobsters Boxer

    Joined:
    Aug 21, 2018
    Messages:
    68
    Likes Received:
    17
    No, it should replay the sound whenever your character collides with it. Did you set it up the same way? Check out the image file i attached to my post
     
  5. mazzi

    mazzi Boxer

    Joined:
    Sep 3, 2018
    Messages:
    4
    Likes Received:
    1
    Hi,
    I did it exactly the same way A bit frustrating, it shouldn't be that hard
    Thank you for your help!
     
  6. jerry

    jerry Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    421
    Likes Received:
    232
    Hey @mazzi - the way you can do that is set up the sound as just an action. Of course when the action is activated it goes away. So you can then create an object that the character kills. The action is then added to that objects death animation. So effectively it respawns itself on death. Hope that makes sense.
     
    mazzi likes this.
  7. mazzi

    mazzi Boxer

    Joined:
    Sep 3, 2018
    Messages:
    4
    Likes Received:
    1
    Jerry, thank you for your advise!
    I will try it out :)
     
    jerry likes this.
  8. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    172
    Likes Received:
    71
    Try testing on your phone before spending to much time on this.
    Sometimes preview does not handle sounds correctly. (On Mac at least)
     
    mazzi likes this.
  9. jerry

    jerry Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    421
    Likes Received:
    232
    Hey @mazzi So a little advice. That should work. The thing you are going to want to be careful of is how long the sound lasts, how loud it is, etc... because if it is overlapping a lot, then it can get REALLY annoying. If you keep it subtle, then it will sound/feel a lot better.
     
    mazzi likes this.

Share This Page