HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Remove all buildings?

10-10-2004, 04:58 AM#1
Oo.h3ih02.oO
I have been trying to but i can't find a way to remove all builings in a region. I really need some help. If this could be done without JASS that would be even better.

Thanks ^_^
10-10-2004, 05:11 AM#2
Rafael Br
Just use the action:
Unit Group - Pick every unit in (Units in Region 000 <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Unit - Remove (Picked unit) from the game)
10-10-2004, 05:05 PM#3
Oo.h3ih02.oO
Thanks man! But i have another question. My custom builings, when i go to build them, they dont even start building, it just disapears but my worker still does the building animation. The worker is undead, the building is undead. Thanks!

[edit]
Actually, the building dies emediately after the builder starts to build it.

[Edit2]
I fixed it. I found that if a building has 1 hp max, it dies automaticaly. :/