I'm trying to get characters follow a lead character round a map.
Aside from pathfinding seeming incredibly slow (delay at start and when clicking), I'm can't work out how to get sprites to follow each other depending on which one is active.
When a sprite is clicked (detected with mouse over) it's set as active. On left click I tell the sprite to pathfind to where the mouse was clicked (by storing the Mouse.X and Mouse.Y).
What I want is for the inactive sprites to follow the active one.
But can't seem to get it working and am at a loss now.
Any help would be great