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

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 :(
 
Level 24
Joined
Jul 9, 2009
Messages
4,097
  • 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.
 
Level 2
Joined
Jun 29, 2013
Messages
11
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 ?
 
Level 24
Joined
Jul 9, 2009
Messages
4,097
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.
 
Level 2
Joined
Jun 29, 2013
Messages
11
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 ;)
 
Level 2
Joined
Jun 29, 2013
Messages
11
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.
Top