79727595

Date: 2025-08-06 16:47:16
Score: 0.5
Natty:
Report link

You can check any conditions you want in the Exit block - like

if (TargetVessel==2) {
    PrepareLoading.take(agent);
}

However what happens to the agents that cannot be taken? You'd need some sort of control logic - most likely, you should only take from storage the agents that CAN be sent to the exit block. Thus, you are ensuring all agents that are finished storing.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Enrico