So I've tried over a dozen different combinations of regions, points, etc. and I'm still having an issue with this.
I'm trying to build a DOTA-like map with a tug-of-war element in it and I'm running into an issue where if the players start spawning units, some of them decide to stop moving when they get to the corner point of a lane rather than redirecting themselves to the next point. This doesn't happen to all of the units, which is why it's confusing me to all hell. It'll just be random ones that decide to stop moving for no reason.
In my current map state I have a top, center and bottom lane. I'm not worrying about the center lane right now since it's just a straight shoot from point to point, but my top and bottom lane is where I am having issues. Currently I have a point in the top left corner and the top right corner. When the units spawn via a trigger, I tell them to:
Create x units for player x at Top Spawn using default facing (No Options)
Order all units in last created units to attack targeting attack point: Top Left (Replace Existing Orders)
And then I have a region overlapping that Top Left attack point and in the region I have this trigger:
Unit - Any Unit Enters Top Lane
If Owner of triggering unit = player x
Unit - Order (Triggering unit) to (Attack targeting Attack Point: T2 Top Attack) (Replace Existing Orders)
Where T2 Top Attack = team 2's top base point
Again I can't figure out any rhyme or reason on why the unit decides to get stuck, but it sits on the actual corner point (I placed an observer right on the point to see if that's where the unit gets stuck at) and it's sitting in the region. My guess is that the unit engages in a fight right as it's telling it to direct itself to another lane, fights and then walks back to the point and has no command issued to it. Is there a way to narrow this down or troubleshoot it?
Or am I just using an awful way of telling units to go from one corner point, hang a turn and go to the next?
Many thanks in advanced, I've wasted two whole days trying to perfect my units pathing :(
OK so I decided to just make a trigger for a unit if it goes idle to just move towards anything in hopes it triggers another region, but my idle unit just stays idle. It seems like the game completely thinks this unit doesn't exist (yet it'll attack anything that comes near it, and even if it moves into another region or out of a region while attacking, it won't trigger the event).
Hey all,
So I've tried over a dozen different combinations of regions, points, etc. and I'm still having an issue with this.
I'm trying to build a DOTA-like map with a tug-of-war element in it and I'm running into an issue where if the players start spawning units, some of them decide to stop moving when they get to the corner point of a lane rather than redirecting themselves to the next point. This doesn't happen to all of the units, which is why it's confusing me to all hell. It'll just be random ones that decide to stop moving for no reason.
In my current map state I have a top, center and bottom lane. I'm not worrying about the center lane right now since it's just a straight shoot from point to point, but my top and bottom lane is where I am having issues. Currently I have a point in the top left corner and the top right corner. When the units spawn via a trigger, I tell them to:
Create x units for player x at Top Spawn using default facing (No Options) Order all units in last created units to attack targeting attack point: Top Left (Replace Existing Orders)
And then I have a region overlapping that Top Left attack point and in the region I have this trigger:
Unit - Any Unit Enters Top Lane If Owner of triggering unit = player x Unit - Order (Triggering unit) to (Attack targeting Attack Point: T2 Top Attack) (Replace Existing Orders)
Where T2 Top Attack = team 2's top base point
Again I can't figure out any rhyme or reason on why the unit decides to get stuck, but it sits on the actual corner point (I placed an observer right on the point to see if that's where the unit gets stuck at) and it's sitting in the region. My guess is that the unit engages in a fight right as it's telling it to direct itself to another lane, fights and then walks back to the point and has no command issued to it. Is there a way to narrow this down or troubleshoot it?
Or am I just using an awful way of telling units to go from one corner point, hang a turn and go to the next?
Many thanks in advanced, I've wasted two whole days trying to perfect my units pathing :(
@GrimmySnarf: Go
OK so I decided to just make a trigger for a unit if it goes idle to just move towards anything in hopes it triggers another region, but my idle unit just stays idle. It seems like the game completely thinks this unit doesn't exist (yet it'll attack anything that comes near it, and even if it moves into another region or out of a region while attacking, it won't trigger the event).
Anyway have any idea or has run into this before?