[logic]
active = sr_idle@clear_smart_1_2 

[sr_idle@clear_smart_1_2]
on_info = {+val_strike_antenna_two_captured} sr_idle@spawn_squads %=clear_smart_terrain(val_smart_terrain_1_2) +val_spawn_freedom_to_killer_base%
	
[sr_idle@spawn_squads]
on_timer = 4000 | sr_idle@spawn_squad_4 %=create_squad(val_smart_terrain_1_2_killer:val_smart_terrain_1_2) =create_squad(val_smart_terrain_1_3_killer:val_smart_terrain_1_2)%
on_info = {=smart_captured_by_faction(val_smart_terrain_1_2:freedom)} sr_idle@end
 
[sr_idle@spawn_squad_4]
on_info = {+val_killer_roof_sniper_3_dead +val_killer_roof_sniper_4_dead +val_killer_roof_sniper_5_dead} sr_idle@spawn_squad_1 %=create_squad(val_smart_terrain_1_4_killer:val_smart_terrain_1_2) =play_sound(val_zavod_task_sniper_dead)% 
on_info2 = {=smart_captured_by_faction(val_smart_terrain_1_2:freedom)} sr_idle@end 

[sr_idle@spawn_squad_1]
on_info = {=actor_in_zone(val_attack_killer_1_zone)} sr_idle@spawn_squad_5 %=create_squad(val_smart_terrain_1_1_killer:val_smart_terrain_1_2)%
on_info2 = {=smart_captured_by_faction(val_smart_terrain_1_2:freedom)} sr_idle@end 

[sr_idle@spawn_squad_5]
on_info = {=actor_in_zone(val_attack_killer_5_zone)} sr_idle@end %=create_squad(val_smart_terrain_1_5_killer:val_smart_terrain_1_2)%
on_info2 = {=smart_captured_by_faction(val_smart_terrain_1_2:freedom)} sr_idle@end 

[sr_idle@end]


