How could I make an ammo count
I made a gun for a fps game. Say you have 100 bullets and shoot 6 rounds and reload your left with 94 bullets, plus having ammo pickups that would add to the 94 or the 100 or whatever amount your left with how could I do this?
-
The Calculator lets you do whatever arithmetic you want, you can assign the result to a Variable, and the Number Display can show it on screen.
-
You're going to have to dive into the Logic!
You could use a counter gadget and calculator gadgets for keeping track of the ammo. A number displayer to list the current ammo count. And then you start wiring inputs and outputs from the various gadgets together.
It's pretty intuitive if you can surrender to the trial and error process. -
It may seem odd but consider using the Health gadget. It has almost everything you'd need built into it. An adjustable max value. Easy set up to add to or decrease it. An output for current value. Outputs for max value and empty.
It will still take a bit of logic-work though. Good luck! -
Thankyou for the help!
댓글을 남기려면 로그인하세요.