I'm trying to restrict an area in a conveyor due to a condition (if the itemType is 1, then in the area should only be one item, and if the itemType is different than 1 any amount of items is accepted). Right now I'm using decision points to try this, but the condition doesn't work always (sometimes work). I already tried using "Enter Area" and "Acquire Area" and non of them works as I want to.
What I'm trying to achieve is to let pass the objects with itemtype 2, and if an itemtype object arrives to the decision point and there are objects in the area, the itemtype 1 object should wait, let the area empty, after that ONLY the itemtype should pass through the area, and once the itemtype object exits the area, the other objects can start going through the area.
I'm attaching a model so you can see what is happening.