HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How can I give Trees a minimum distance req to Townhall (Like Goldmines)?

02-18-2006, 03:23 PM#1
Fulla
I cant think of anyways to do this.

Is there anyway?

thank you

EDIT: thx to ThunderEye he suggested placing invisible mini goldmines by the trees with no pathing. I'll give it a try :-)
02-18-2006, 03:31 PM#2
Vexorian
I think that suggestion is quite terrible.

I would actually just trigger it. Detect attempt to build townhall, check if there aren't trees too close to it. And in case there are, block the order and use SimError or CS_Error to show an error message
02-18-2006, 06:16 PM#3
Jacek
Whats SimError/CS_Error? CS stands for caster system - he don't want probably to implement whole caster system for one function.
02-18-2006, 06:25 PM#4
Thunder_Eye
He dont need to. He can just implent the SimError function.
I first suggested using triggers but he wanted it so the pathing got red so you couldnt even place it.

The only thing I could think of was placing invisible mines in the trees to prevent the player from being able to build next to them.