- Joined
- May 26, 2012
- Messages
- 177
OK my question is can I make a wander ability for a unit that it wanders through the map regularly but with bounds,I mean that the wandering unit don't move randomly everywhere and enter bases and get his shit kicked out of him,but moves randomly in a region around him and doesn't leave it unless attacked,then he returns after the attack ends.
Most will tell me:give him the wander ability and set a region for him that if he leaves;order him(By triggers)that the unit return to a random part in his region.
But this is wrong as:
1)if he gets attacked he will always return to the region and not chasing that unit which is stupid.
2)There would be hundreds of units and I can't trigger them one by one.
so if anyone knows how to do such a thing plz post triggers or attach a sample map.
Note:+rep and credits for helpers!
Most will tell me:give him the wander ability and set a region for him that if he leaves;order him(By triggers)that the unit return to a random part in his region.
But this is wrong as:
1)if he gets attacked he will always return to the region and not chasing that unit which is stupid.
2)There would be hundreds of units and I can't trigger them one by one.
so if anyone knows how to do such a thing plz post triggers or attach a sample map.
Note:+rep and credits for helpers!