[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info  = {=actor_in_zone(jup_a26_door_restr) -jup_a26_convoy_see_actor} sr_idle@wait_1 %=run_tutorial( jup_a26_door_restr_tutor )%

[sr_idle@wait_1]
on_info  = {+jup_a26_door_open =is_sherkhan_day} sr_idle@scene_1 %=disable_ui_only =run_postprocess(fade_to_black_9_sec)%
on_info2 = {+jup_a26_door_open !is_sherkhan_day} sr_idle@scene_1 %=disable_ui =run_postprocess(black:3009:true)%
on_info3 = { !actor_in_zone( jup_a26_door_restr ) } sr_idle@wait %=stop_tutorial%
on_info4 = {+jup_a26_convoy_see_actor =has_active_tutorial} sr_idle@wait %=stop_tutorial%

[sr_idle@scene_1]
on_game_timer  = 72 | {=is_sherkhan_day} sr_idle@scene_2 %=run_postprocess(black:3009:true) =teleport_actor(jup_a26_actor_walk:jup_a26_actor_look) =create_squad(jup_a26_actor_squad:jup_a26)%
on_game_timer2 = 72 | {!is_sherkhan_day} sr_idle@scene_2 %=teleport_actor(jup_a26_actor_walk:jup_a26_actor_look) =create_squad(jup_a26_actor_squad:jup_a26)%

[sr_idle@scene_2]
on_info = {=is_squad_online(jup_a26_actor_squad)} sr_idle@scene_2_1

[sr_idle@scene_2_1]
on_game_timer  = 20 | {=is_sherkhan_day} sr_idle@scene_3 %=stop_postprocess(3009)%
on_game_timer2 = 20 | {!is_sherkhan_day} sr_idle@scene_3 %=stop_postprocess(3009) =enable_actor_nightvision =enable_actor_torch%

[sr_idle@scene_3]
on_info = {+squads_go_from_jup_a26} sr_idle@scene_4 %=create_squad(jup_a1_sherkchan_single_squad:jup_a1)%

[sr_idle@scene_4]
on_game_timer = 16 | sr_idle@scene_5 %=actor_look(jup_a26_actor_look_point)%

[sr_idle@scene_5]
on_info  = {+jup_a26_scene_end} sr_idle@scene_6 %=disable_ui =run_postprocess(black:3009:true) =teleport_actor(jup_a1_actor_walk:jup_a1_actor_look)% 

[sr_idle@scene_6]
on_game_timer = 16 | sr_idle@nil %=enable_ui =stop_postprocess(3009) =clear_smart_terrain(jup_a26) +spawn_jup_a26_agent_squad%

[sr_idle@nil]
