The issue i'm having with this is that the units don't turn the full 90 degrees. They tend to turn slightly under.
I've tried flooring the angle which the unit is at with FixedToInt(UnitGetFacing(UnitGroupLoopCurrent())) and i've even got while loops in the turning to make sure that it keeps repeating the turning until it's accurate but it just doesn't work.
Am I going about this the wrong way by using the current angle of the unit? Should I just write the angle the unit should be heading to a units custom variable and pull it from the move forward trigger or would it still cause the same error?
If you want to see what's happening on the map see attachment.