[logic]
active = sr_idle@wait_actor

[sr_idle@wait_actor]
on_info = {=actor_in_zone(labx9_a4_enter_restr)} sr_idle@spawn_flame %=create_squad(labx9_a4_build_5_squad:labx9_a4) =create_squad(labx9_a4_build_6_squad:labx9_a4)%

[sr_idle@spawn_flame]
on_game_timer = 20 | sr_idle@next_spawn_flame %=create_squad(labx9_a4_build_7_squad:labx9_a4) =create_squad(labx9_a4_build_8_squad:labx9_a4)%

[sr_idle@next_spawn_flame]
on_game_timer = 20 | sr_idle@spawn_build %=create_squad(labx9_a4_build_9_squad:labx9_a4) =create_squad(labx9_a4_build_10_squad:labx9_a4)%

[sr_idle@spawn_build]
on_game_timer = 20 | sr_idle@end %=create_squad(labx9_a4_build_11_squad:labx9_a4) =create_squad(labx9_a4_build_12_squad:labx9_a4)%

[sr_idle@end]
on_game_timer = 20 | sr_idle@nil %=create_squad(labx9_a4_build_13_squad:labx9_a4)%

[sr_idle@nil]
