Staredit Network

Staredit Network -> Concepts -> one location patroling
Report, edit, etc...Posted by l)ark_13 on 2005-06-27 at 00:47:32
I don't know if this has been figured out already, but its cools so I'll see if anyone knows about it.

I was trying to make it so scarabs wouldn't die with the set generic command point and patrol to location thing (by the way, I still cant get them to stop dying. But thats off topic) and I set both the command point and patrol to location to the same location (preserve trigger + HT). When I moved the scarabs to another location, they spawned there, then started moving back to the generic command point/patrolling location.
Now, the neat thing is the location I moved the scarabs to was centered to a unit, and when I moved the unit the scarabs moved to the PLACE they spawned, not the location where the unit had moved. A note though: The location the generic command point and patrol to location has to be blocked off so the scarabs cant actually get there (e.g. surrounded by water or made of ice surrounded by snow).
You could (not practical) have hundreds of scarabs moving back-and-forth all in separate places with 3 locations. One location for the generic command point and patrolling, one for a unit to walk to, and one to center around that unit.
I havent tested it on other units yet, but I'm sure it will work. I dont see why not. Its pretty cool actually.
Heres the map I tested it on and the replay to show you what it looks like (if you cant get it to work). Unseige the tank to spawn a scarab where you are.
(don't mind the crappy map revealers tongue.gif )
Report, edit, etc...Posted by Mr.Kirbycode774 on 2005-06-27 at 01:09:41
It's hard to understand what you typed, but your map "TEST" explains it all. It's quite interesting. Why don't you use men to block off the "patrol area" instead of terrain? You can kill the men when you're done with it, but you can't redo terrain.

Also, you learn a new thing every day. While playing "Reaver patrol Dodgeball" I noticed that the reaver animation is just the center of the recall animation. Another cheeky move by Blizzard. wink.gif
Report, edit, etc...Posted by in_a_biskit on 2005-06-27 at 03:51:18
Actually, after some further testing, you can determine that this happens for all units:

If a unit is patrolling between A and B, and you move it instantly to C, then it will patrol between C and whichever of A and B it visited last. For example, if a unit was patrolling between A and B, and it just reached A and was returning to B, and you moved it to C, then it would patrol between C and A.

I think it works like way-points (where you press shift+rightclick to put another order on a unit's "to do" list) do: If you give a unit several orders through way-points, and the unit is moved, then it will stop its current action, and continue with the next command on the list.
Next Page (1)