Help Me With The Linked Object Pathfinding

I’m a little unclear. Are there multiple movers per customer? When you unlink and link the mover, could there be multiple movers picked? If so, you might need to use a for each mover. It might not be unlinking or linking all movers.

For each mover
… Unlink
… Link

I don’t know if all movers need to be unlinked/linked. That only needs to be done before they are given a move action. I’m not sure how you’re choosing movers.

I played around with a restaurant simulator. It used an object variable named busy for the waiters. That way I could pick either a random or the nearest waiter that isn’t busy, set busy to true and then set busy back to false when it reached its destination and did whatever action was needed like deliver water.

I used the basic pathfinder.

https://forum.gdevelop.io/t/solved-npc-empty-seat-detection/60134/5?u=keith_1357

Actually part of that might have been in a newer version. I don’t know if that version is mentioned in the post or is on my github. But, I still did use Busy to track the availability.