Somebody help me please, i'm really stuck.
I'm using game maker
I've created 5 different paths in the same grid.
Then i've set some variables so that the selected unit follows a different path based on what you've clicked (it can be a resource or just the terrain).
I've got two problems now: when you click a resource, the unit follows it's path nicely, but when you click a different resource before it has reached the first one, it bugs out to the top left.
The other problem is that if i click an empty space, the unit seems to "forget" its path when i click the resource later and just goes in a straight line.
I've also tried creating a different grid for each path, but it didn't work