Hi all, I'm working on a management game in which little minions known as objWorkers go around performing tasks at different buildings based on an instance variable WorkerJob.
I've managed to get them to move around, however, several issues are cropping up.
First issue, when an objWorker reaches their designated objDestination, instead of stopping, they proceed to bump up against the objDestination over and over again, and never truly reach it. I have no idea why this is the case.
Second issue, several types of workers such as "Farmers" do not pathfind to their objDestination (objDestFarm), and instead try to relocate to objDestStorage (not where they're supposed to go) and the workers who are supposed to go to objDestStorage "Campers" instead try to locate to 0,0.
Attached are screenshots of the code. If you guys want sample code, I'll whip one up, but for now I'm hoping this is easily solvable.