I have supply drops that drop down randomly and when you press it you get more ammo or coins. My problem is how can I get the supply drops to only give ammo to the weapons that are currently equipped. thank you.
Hmm...Maybe make a game attribute for when that weapon is equipped? Im just throwing out an idea.... Then you can say when game.attribute=true then spawn the correct weapons for your specific gun...
@derka6391 I agree with @goliath, set up an Attribute that keeps track of what weapon is equipped. Then have your supply drop check this attribute and provide the correct ammo.
www.Jamie-Cross.net ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad