Page 1 of 1

Hopper - multiple ammos at once

Posted: Fri Jan 11, 2019 9:55 am
by PoisonFrog83
How might I make multiple ammos types load into the same "Hopper"?

I'm thinking multiple pickups. Say... Red, blue, yellow and green.

Now, on my HUD, instead of having 6 ammo icons or a value of six, I might want:


Thanks in advance :mrgreen:

Re: Hopper - multiple ammos at once

Posted: Sat Jan 12, 2019 4:54 pm
by Blacksheep32
This won't be too helpful, because I haven't figured out the code, but with the game I'm working on I plan on using an icon to tell the player what weapon is current and a counter to display that weapons ammo, then use a User variable to tell the HUD which weapon is active. So like 0 bit weap1, 1 bit weap2, 2 bit weap3. Then Press Select button to bit + 1 IF bit > 2 THEN bit := 0