action top repeat 100 action { fire direction sequence 23 bulletRef straight; wait 1; } bullet straight action { wait 20+$rand*50; changeDirection direction absolute 180 term 10; }