• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Item Reload System Help

Status
Not open for further replies.
Level 6
Joined
Oct 22, 2006
Messages
184
I need help with this trigger. It's an ammo system when the unit gets the Item then uses it adds to the Players Gold (Ammo) But it does not seem to be working...
Code:
Event-
Unit - A unit Uses an Item
Conditions-
(Item-type of (Item being manipulated)) Equal to Primary Ammo
Actions-
Player- Add (Charges remaining in (Item being manipulated)) to (Owner of (Hero manipulating item)) Current Lumber (Ammo)
Sound- Play RELOAD <gen> at 100.00% volume, attached to (Hero manipulating item)
Item- Remove (Item being manipulated)
This may be to vague of an explanation but help is appreciated
 
Level 12
Joined
Feb 1, 2007
Messages
1,092
Well you said that you wanted the Ammo to be gold, but in your trigger, it is being added to lumber. Is that the problem?

EDIT: I tested your trigger exactly the way you had it except I changed it to giving me gold. It worked fine and I got the gold every time. Make sure your item has some ability so you can use it, and make sure that the wood thing is fixed to giving gold, and it should work. I will post my trigger if you still are having problems.
 
Last edited:
Status
Not open for further replies.
Top