• 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!

Strange thing with a building

Status
Not open for further replies.
Level 2
Joined
Jun 29, 2013
Messages
11
I want to make my building sell an item. (this building is upgraded from another one). When I add an item to the current building, nothing happens. When I add this item to the previous version of building and to these building aswell it appears in both. How to make it only appear in the second building? Kinda tired with that :(
 
  • Store
    • Events
      • Unit - A unit Finishes an upgrade
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Your Building
    • Actions
      • Neutral Building - Add Your Item to (Triggering unit) with 1 in stock and a max stock of 1
This should work.
 
One more question :) Decided to make the item only for the 3d modification :D And it's no working again... I changed the name of the building in the trigger. Should i add the item to the building in WE or just (Unit-type of (Triggering unit)) Equal to Your Building should add it ?
 
So it worked for upgrade two but not for upgrade three and you changed the trigger and condition too match the new building and item, that should not happen if you've made it identical to the last scenario but with new units and items.
 
well, all i did is changed the name of the building in the trigger, cause everything else seems right.

If i add the item to second upgrade then it appears for the third aswell, but i only want to add it for third one ;)
 
OK, thanks again;) But solved it myself. All need is to add extra ability (Sell items) for the tower. (Not the one that standart goblin shop has)
 
Status
Not open for further replies.
Back
Top