I’ve been trying to get my “pickup” sound to play every time the player is in collision with certain items. Problem is, it only plays the sound once or twice when I pick up the item (plays twice if I pickup the second item fast enough, within a second) and never again. Here’s my code:
As an example, here’s a screenshot of my basic game: (imgur link as I can’t upload more than 1 img)
If character navigates to location #1 with 3 of the items, the sound will play once or twice depending how fast player collided with those objects. When player goes to pickup axe in #2 location, no sound is played. Vice versa, if player starts a game and goes to location #2, the sound plays properly. However, when we go back to location #1 no pickup sounds are played for none of the items. Not sure why this doesn’t work properly.
Note: I have tried this with trigger once enabled and disabled. Made no difference.
Any help would be greatly appreciated. I like the engine.