how can i make it so a unit is unable to enter a region? i dont mean like they enter it then get sent out, i mean they cant get into the region in the first place.
froman77ok n/m it didn't work. what i want is so that when a unit comes into a region is just wont be able to enter it, and it will stop.
Thats why I wrote that trigger, but why it doesn't work? When the unit enters the region it cant come out? If that is the problem make another region around the initial region that you don't want unit(s) to enter, and use same trigger. The second region has to be just a bit larger.
Events: Unit-Generetic Unit Event: A unit enters Region 2
Conditions: (No need)
Actions: Unit- Issue Order with no target: Order Entering Unit to Stop
The rest is optional but... Trigger: Turn off (this trigger) Wait: Wait 0.5 Trigger: Turn on (this trigger)
You should tell me whats wrong with my first suggestion, so that i try to fix it.
make another region around that region then and say "if unit enters region1 order unit to go to random point in region2"
so its like you have the region where they shouldent enter and another region around it thats the stoper and then one more region that you send the unit too if it enters the stoper region around the one the unit musent enter.