Jump to content

Recommended Posts

Posted

Hi


I have a FIFO queue in my model. However, in certain cases, I want to transfer entities to the first position of that queue (temporary LIFO).


I have thought of some more complex ways to do this but before implement those, I wanted to know if a more efficient way exists, like for example transferring an entity to the first position of the queue...

Posted

You could rank the queue Low Value First based on Entity.Priority.

Just before the entity arrives at the queue assign its priority to TimeNow, or assign it to 0.0 if you want to push it to the front.

×
×
  • Create New...