• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Items straight to a building?

Status
Not open for further replies.
Level 2
Joined
Jan 24, 2012
Messages
8
So, here's my problem.
I'm making a TD-map were I want a purchased Items go directly to an hero-tower/building (Inventory)
,no matter how long range.
...or without being delivered by another unit.
So, how can I get this to work?
 
So, here's my problem.
I'm making a TD-map were I want a purchased Items go directly to an hero-tower/building (Inventory)
,no matter how long range.
...or without being delivered by another unit.
So, how can I get this to work?

So you want a purchased item to be moved into the inventory of a hero?
Create a trigger with an event of: a unit aqcuires an item
then a condition of item being manipulated equals to item type of item being sold and then move it to the inventory of the hero through actions, this same thing can be done for units with inventory's. It should be quite simple.
 
Last edited:
Try something like this:

  • Trigger
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Item-type of (Item being manipulated)) Equal to Alleria's Flute of Accuracy
          • (Item-type of (Item being manipulated)) Equal to Crown of Kings +5
    • Actions
      • Hero - Drop (Item being manipulated) from (Triggering unit)
      • Hero - Give (Item being manipulated) to (Your_Building)
Note: Add all the item-types that you want the system to work for under the "Or - Any (Conditions) are true" part.
 
Status
Not open for further replies.
Back
Top