I don't understand how to do this right now. In DB Pro I've loaded my sound. I'm trying this for a gun and then for footsteps, but let's do the gun first. When you click the mouse once, it plays the gunshot once and fires one bullet. But what about if I hold the mouse button down? It shoots multiple bullets correctly, but the sound just keeps starting over and never finishes playing until I let go of the mouse, and it basically sounds like a high pitch buzz because it keeps playing the beginning over and over. How can I make it so that when I hold the mouse button down, the sound will play over and over the full length each time, and not the first millisecond of it and then play that section again and again?
And for footsteps, I have it where the WASD keys move you around, but I also want footstep sounds. I've loaded my sound in and if I tap one of the keys, the footstep sound will play just once like it should. But if I hold one of the keys down to actually move somewhere, nothing plays until I let go of the key and it'll play the footstep once. How can I make it so that when you hold the key down, the footsteps loop through and then stop when you stop holding it down? Thanks.