I'm making a musket by converting the Kar98.
What I want to happen is
player squeezes trigger:
0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan
1 second later
bullet is fired, muzzle flash, muzzle smoke
How do I code the delay from the time the trigger is squeezed and the pan is ignited, to the bullet being fired and the muzzle flash and smoke?
So far what I have is:
0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan, bullet is fired, muzzle flash, muzzle smoke all simultaneously.
What I want to happen is
player squeezes trigger:
0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan
1 second later
bullet is fired, muzzle flash, muzzle smoke
How do I code the delay from the time the trigger is squeezed and the pan is ignited, to the bullet being fired and the muzzle flash and smoke?
So far what I have is:
0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan, bullet is fired, muzzle flash, muzzle smoke all simultaneously.
Last edited: