I am trying to construct a a simple airport security channel.
I have a 'loadService' where passengers split with a number of bags. (Number of bags is picked randomly off a Custom Distribution).
The bags then go on a conveyor, while the passenger goes through a metal detector.
However, after that is where I have my problem.
I have tried combine, pickup and match but cannot figure out how to get passenger to pick up all their bags that they were split with. It normally ends up them picking up just 1 random bag from the belt.
Any ideas on how to ensure passengers stay at the revestService until they have collected THEIR bags they own...
Thanks for any help,
-Karl
*Two down votes? I'm happy to clarify more if need be.
This is how I would do it.
agent.passengerLink.getConnectedAgent().equals(container)
A lot to do, but it should work because I have done this before like this :)