Is there a method to have a unit patrol around a certain point or region at a certain distance away from said point/region?
What I am trying to do is make a wisp wheel like in Warcraft III. I know the SC2 map PartyCraft does exactly what I want, but I wasn't able to get a response from the creator as to how he did it. Any method to do this would be great.
Don't really understand what you want. A unit that patrols between two points, one of them random?
I'll create a region around your unit that is a circle big enough to cover the area you want the unit to patrol to, and a negative circle to the region that is the minimal distance you want them to go patrolling. Then use a Patrol Point variable that gets a random point in that region, and Order Unit to Patrol to Patrol Point.
That way the unit will go and come back to that random point all the time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a method to have a unit patrol around a certain point or region at a certain distance away from said point/region?
What I am trying to do is make a wisp wheel like in Warcraft III. I know the SC2 map PartyCraft does exactly what I want, but I wasn't able to get a response from the creator as to how he did it. Any method to do this would be great.
Don't really understand what you want. A unit that patrols between two points, one of them random?
I'll create a region around your unit that is a circle big enough to cover the area you want the unit to patrol to, and a negative circle to the region that is the minimal distance you want them to go patrolling. Then use a Patrol Point variable that gets a random point in that region, and Order Unit to Patrol to Patrol Point.
That way the unit will go and come back to that random point all the time.