[logic]
active = sr_idle

[sr_idle]
on_info = {!black_screen -zat_b101_give_task +zat_a1_game_start} sr_idle@save %=give_task(zat_b101_heli_5_crash) +zat_b101_give_task =give_task(jup_b8_heli_4_crash) +jup_b8_give_task =give_task(zat_b28_heli_3_crash) =give_task(zat_b100_heli_2_crash) =give_task(jup_b9_heli_1_crash) +jup_b9_give_task =set_active_task(zat_b28_heli_3_crash)%

[sr_idle@save]
on_info = {-zat_a1_game_start_saved} %+zat_a1_game_start_saved =scenario_autosave(st_save_zat_a1_game_start)%
on_info2 = {+zat_a1_game_start_saved} sr_idle@1

[sr_idle@1]
on_info = {+zat_b101_heli_5_searching -zat_b101_heli_5_searched} sr_idle@timer1 %=disable_ui =run_postprocess(fade_in:8010)%

[sr_idle@timer1]
on_game_timer = 20 | sr_idle@timer2 %=run_postprocess(black:8011:true) =create_cutscene_actor_with_weapon(zat_b101_actor_visual_stalker:zat_b101_actor_visual_stalker_walk:0:45)%

[sr_idle@timer2]
on_game_timer = 30 | sr_cutscene %=stop_postprocess(8010) =stop_postprocess(8011) +play_sound_heli_5%

[sr_cutscene]
point = zat_b101_actor_visual_stalker_walk
look = zat_b101_actor_visual_stalker_look
global_cameffect = true
enable_ui_on_end = false
outdoor = true
cam_effector = scenario_cam\zaton\zat_b101_heli_5_camera
on_signal = cameff_end | sr_idle@end %=run_postprocess(black:8013:true)%
on_signal2 = cam_effector_stop | sr_idle@end %=run_postprocess(black:8112:true)%
on_info = {+zat_b101_heli_5_sound -zat_b101_heli_after_camera_fade} %+zat_b101_heli_after_camera_fade =run_postprocess(fade_in:8012)%
on_info2 = {+zat_b101_jup_b8_camera_one_stop -jup_b8_heli_4_searching} %=stop_sr_cutscene%
on_info3 = {+zat_b101_jup_b8_camera_both_stop} %=stop_sr_cutscene%
on_info4 = {+zat_b101_actor_hit} %=stop_sr_cutscene =run_postprocess(black:8013:true)% 

[sr_idle@end]
on_game_timer = 10 | %+zat_b101_heli_5_searched%
on_info = {+zat_b101_heli_5_searched} sr_idle@nil %=stop_postprocess(8012) =stop_postprocess(8013) =enable_ui =teleport_actor(zat_b101_actor_visual_stalker_walk:zat_b101_actor_visual_stalker_look)%

[sr_idle@nil]
on_info = {+zat_b101_heli_5_searched -save_zat_b101_searched_heli_5} %+save_zat_b101_searched_heli_5 =scenario_autosave(st_save_zat_b101_searched_heli_5)%
on_info2 = {+save_zat_b101_searched_heli_5} sr_idle@nil2

[sr_idle@nil2]
