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