I have a problem with a project in AnyLogic:
When it switches from one state to another, a member of my population has to change color. I was able to set the condition, I set the color change but it changes the color of the whole population. Help me, please!
The condition from state to newbus is stock>0
. The condition from newbus to state is stock<0
. The action in state is testa.setFillColor(lime)
. The action in newbus is testa.setFillColor(lime)
.