Ammo system for line trace

I’m Sorry I’m new into Game Development ^^

No worries. I asked:

Are the variables I mentioned > 0?

And they were - I should’ve been more specific. My bad, actually. Good luck!

Thanks You too :+1:

Hey, the loop is enabled(which is good) but it loops my weapon fire sound too and its after a time super loud and it doesent stop the looped sound after I realesed the fire button. Do you know how to stop it from looping and playing(just my fire sound)… and thanks for everything

If the sound is looping, then it could be this:

Since the sound is already looping, there’s no need to repeat it again while the firing takes place.

So, I can delete my weapon sound from my"start firing weapon"?!

Thank you

I think so.

If you do not want to play a separate sound for every bullet fired and prefer a continuous ratatatata instead, it’d make little sense to create the sound when the event fires.

Play it when firing starts and stop it when firing terminates (for any reason).

1 Like

Thank you very much :+1: