[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {=actor_on_level(level_escape)} sr_idle@blink %+actor_on_level_escape%

[sr_idle@blink]
on_info  = {=actor_in_zone(kordon_dialog_restr)} sr_idle@dialog %+actor_in_kordon_dialog_restr =run_postprocess(blink:6127:true) =teleport_actor( esc_a1_actor_dial_walk:esc_a1_actor_dial_look )%
on_info2 = {=actor_pos_z_le( 134:negative )} 	 sr_idle@dialog %+actor_in_kordon_dialog_restr =run_postprocess(blink:6127:true) =teleport_actor( esc_a1_actor_dial_walk:esc_a1_actor_dial_look )%

[sr_idle@dialog]
on_info = sr_idle@camera_start %=stop_postprocess(6127) =disable_ui_only%

[sr_idle@camera_start]
on_game_timer = 20 | sr_idle@camera_1 %=actor_look(esc_a1_camera_1_way) =enab_actor_torch%

[sr_idle@camera_1]
on_game_timer = 20 | sr_idle@camera_1_1 %=actor_look(esc_a1_camera_4_way)%

[sr_idle@camera_1_1]
on_game_timer = 8 | sr_idle@camera_2 %=actor_look(esc_a1_camera_2_way)%

[sr_idle@camera_2]
on_game_timer = 40 | sr_idle@camera_3 %=actor_look(esc_a1_camera_3_way)%

[sr_idle@camera_3]
on_game_timer = 20 | sr_idle@dialog_start %=actor_look(esc_a1_camera_4_way)%

[sr_idle@dialog_start]
on_info = {+actor_can_start_wolf_dialog} sr_idle@dialog_end %=enable_ui%

[sr_idle@dialog_end]
on_info = {+esc_wolf_dialog_end} sr_idle@teleport %=disable_ui =run_postprocess(black:6127:true)%

[sr_idle@teleport]
on_game_timer = 10 | sr_idle@enable %=teleport_actor( esc_a2_actor_dial_walk:esc_a2_actor_dial_look ) =remove_squads(esc_a1_wolf_squad)%

[sr_idle@enable]
on_game_timer = 30 | sr_idle@create %=stop_postprocess(6127) =enable_ui%

[sr_idle@create]
on_game_timer = 10 | sr_idle@wait_wolf %=create_squad(esc_a2_wolf_squad:esc_a2)%

[sr_idle@wait_wolf]
on_info = {+esc_wolf_1_dialog_end} sr_idle@fade_to_black %=disable_ui =run_postprocess(fade_to_black_9_sec)%

[sr_idle@fade_to_black]
on_game_timer = 72 | sr_idle@title %=run_postprocess(black:3009:true)%

[sr_idle@title]
on_game_timer = 10 | sr_idle@stop_text %=add_cs_text( actor_finish_title )%

[sr_idle@stop_text]
on_game_timer  = 150 |  sr_idle@nil %=stop_game_show_credits%

[sr_idle@nil]
