Ammunition and Firing

Enpherdaen
23 Feb 2017, 02:11To say the least, I have no legitimate idea how to use proper coding for rifles and ammunition. In my game the player has a rifle, which the player can load a clip of 5 bullets into. The player also has a certain amount of clips within an ammunition pouch. Not only to I need to decrease the amount of bullet's in a clip as the player "fires" the weapon, but also view how many bullets and clips are remaining.
Sincerely, the dummy.

onimike
23 Feb 2017, 04:45Here's a video I made with the file in the description for a weapon and combat system real easy to use.
https://www.youtube.com/watch?v=yiQRfCjl1Lg
Hope it helps
The Pixie
23 Feb 2017, 07:55And here is a tutorial I posted just yesterday...
https://github.com/ThePix/quest/wiki/The-Zombie-Apocalypse-(web-version)

Enpherdaen
23 Feb 2017, 15:19Thanks mateys!