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.

Answers

  • goliathgoliath Member Posts: 1,440
    edited July 2015

    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...

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited July 2015

    @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.

  • derka6391derka6391 Member Posts: 31

    Thanks guys.

Sign In or Register to comment.