• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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