I have added a no weapon feature to my game. I did this by adding a invisible weapon into the actors hands. It works, however there are two problems.
1) The weapon will start with one round. If I set the ammo or magazine size to zero, the weapon will fire with -1, -2, -3 ammo etc.
2) After the clip is empty, the weapon will still fire with an emtpy weapon sound playing.
How can I resolve these problems? Idealy I would like to swtich the fire on the weapon to a punching animation, and with no empty weapon sound.
1) The weapon will start with one round. If I set the ammo or magazine size to zero, the weapon will fire with -1, -2, -3 ammo etc.
2) After the clip is empty, the weapon will still fire with an emtpy weapon sound playing.
How can I resolve these problems? Idealy I would like to swtich the fire on the weapon to a punching animation, and with no empty weapon sound.
Comment