HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What is wrong with this simple one?

07-28-2006, 06:23 PM#1
Sharingan
Code:
Neutral Building - Remove Footman from all marketplaces
Why won't this work?
07-28-2006, 06:58 PM#2
kiry
A unit must be added to the shop via triggers for it to be removed, at map initialization just add the unit to the shop and you'll be able to remove it.
07-29-2006, 06:13 AM#3
Sharingan
Oh god...this fails...are you sure?
07-29-2006, 07:29 AM#4
Fireeye
I propably know why i don't work.
Does your marketplace have the ability "Sell Uni" (Asud)?
When not you have to add this ability, then your trigger will work without changement.
07-29-2006, 03:17 PM#5
Sharingan
Hmm, indeed they don't have the ability, but it won't work even if I add them...
07-29-2006, 06:08 PM#6
Fireeye
it will work if you add the ability, just try it. I've already tested it.
Want me to attach the map?
07-29-2006, 10:01 PM#7
Sharingan
...Sure...thanks for the effort
07-29-2006, 10:32 PM#8
The)TideHunter(
Fireeye is right, notice under the GUI action, it gives a tip.
It says something like; "This function only works if the shop has Sell Item" (for item functions) or Sell Unit" for unit functions.
07-29-2006, 10:34 PM#9
Sharingan
I know...really, it does not work for me unless I add a unit to a shop manually via triggers...
07-29-2006, 10:39 PM#10
The_AwaKening
I've already tried multiple settings with this same problem before and come to the same conclusion that the units or items have to be added to a shop via trigger if you want them removed later via trigger.
07-30-2006, 01:45 AM#11
Sharingan
Bumps
Fireeye, please post your dummy map please..>>
I really don't want to add every Hero manually using triggers...