supply drops need help
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.
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.
Answers
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.
Thanks guys.