To start with you can simply connect the event int to control which level is stored and cleared. then you just need to worry about randomizing that when you call the event.