one way u can do this:
if ur no of entities are fixed and u know first one has which no of waits, then u create 5 different actions for each with different waits in them. and attach them accordingly as u create the entities.
else within one action only u can give conditions like
if(....)
wait(-1)
else if(...)
wait(-2)
....
.....