X-maul
AKA: Demtrod
- Reaction score
- 201
I need to have 4 units (starting from different locations, move in circles like this;
The units are supposed to move from point 1, to 2 and from 2 to 3, and so on. And then end at point 1 again where it starts over.
I got a unit starting at 1, 3, 5 and 7, and they are ofcourse meant to move to next point in line.
Currently I got a trigger that will trigger when a unit enters a region, and send it on to the next region, but that fires like 10 times a second, which I am worried might cause some lag.
Here's the trigger for reference;
Is there a more efficient way of doing this? Maybe with actors or another trigger method?
The units are supposed to move from point 1, to 2 and from 2 to 3, and so on. And then end at point 1 again where it starts over.
I got a unit starting at 1, 3, 5 and 7, and they are ofcourse meant to move to next point in line.
Currently I got a trigger that will trigger when a unit enters a region, and send it on to the next region, but that fires like 10 times a second, which I am worried might cause some lag.
Here's the trigger for reference;
Code:
Inner Moving 1
Events
Unit - Any Unit Enters within 2.0 of Point 001
Local Variables
Conditions
(Owner of (Triggering unit)) == 15
Actions
Unit - Order (Triggering unit) to ( Move targeting Point 002) (After Existing Orders)