HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detect if the villager can build in that region?

10-04-2003, 02:03 PM#1
Coffein
Ok, for my new map I need a way to detect if a villager can build at the ordered region.
Does anybody know a way?

Edit: I think I found a way.
10-04-2003, 03:04 PM#2
Zachary_Shadow
Let us know?
10-04-2003, 03:32 PM#3
Coffein
I run a check to see if the amount of units in the region is greater than 0.
10-04-2003, 04:19 PM#4
chemo
u could also do it so when the worker enters the area its worker ability disappear... that way u can be sure he won't build any thing.
10-04-2003, 04:27 PM#5
Coffein
Huh? When I remove his worker ability then he can't build the house... ?!
10-04-2003, 04:38 PM#6
chemo
it like an acolyte without his summon ability.. then the button will disappear.. that mean u can press any button that link u to the building rigth ?
10-04-2003, 04:41 PM#7
Coffein
Quote:
Originally posted by chemo
it like an acolyte without his summon ability.. then the button will disappear.. that mean u can press any button that link u to the building rigth ?


???

the villager spawns in the map, gets a random region where he should build his house. He walks there and starts building.
10-04-2003, 04:46 PM#8
chemo
doh !!! sry i missed the whole sense of ur topic... sry :/

but u can cheack through unit type... like a specific unit enters that area.. then he can/not be able to build there...
10-04-2003, 04:58 PM#9
Coffein
It's ok. I have only one problem..
..sometimes spawned units just stand there and don't do anything.