HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Return and Units Sold Question

12-14-2006, 08:48 PM#1
StockBreak
Hi all, I came back working at WE after about 9 monts :)
I'm so glad that this forum is still active and full of persons!


I have a question for you, I am making a Line Tower and I discovered a great problem:
I coulnd't find any way to remove a unit from a player building which sells units. Options such as "disable unit for player" or "neutral building - remove unit" don't work at all! Any idea?
12-14-2006, 08:58 PM#2
SFilip
> or "neutral building - remove unit" don't work at all
In order for this action to work, the unit you are trying to remove must be added with the neutral building - add unit action, not predefined in the OE. You can do this on map intialization...
Also make sure that the shop has the Sell Units ability.
12-15-2006, 12:00 AM#3
StockBreak
Nice, it works! However I will have to change my triggers because there are a lot of creeps :( no other way?
BTW rep added!
12-15-2006, 12:01 PM#4
SFilip
Well you can give it a shot with Player - Limit Training Of Unit-Type (with the limit being 0). If I remember correctly that would have the same effect as removing the unit-type from the shop.
12-15-2006, 02:21 PM#5
StockBreak
It doesn't work, I have already tried it. I think that it only affects trained units, not sold units... Thanks BTW.
12-15-2006, 04:00 PM#6
zen87
well there is some other way... add some requirement to the unit, for example you want this certain unit to be available after 20 min, then make a dummy unit called *20 minutes* and create it at 20th min.
12-17-2006, 05:13 PM#7
StockBreak
Actually, my system works by replacing a building with another building without the specified unit...