[logic]
active = sr_idle@qvuest

[sr_idle@qvuest]
on_info = {+a2_hunter_break_dialog_20 +b3_krovosos_hunter_death} sr_idle@zone
on_info2 = {+a2_hunter_break_dialog_21} sr_idle@zone
on_info3 = {+a2_hunter_break_dialog_22} sr_idle@zone

[sr_idle@zone]
on_info = {=actor_in_zone(sv_a2_stoyanka_sr)} %=create_squad(sim_hunter_help_wounded_squad:b11_sv_terrain)% sr_idle@in_zone

[sr_idle@in_zone]
on_info = {=actor_in_zone(sv_b11_hunter_wound_sr)} %=give_task(hunter_help_wounded_qvuest)% sr_idle@spawn

[sr_idle@spawn]
on_info = {+b11_hunter_break_dialog_1} %=create_squad(b11_krovosos_hunter_wounded_squad:b11_sv_terrain)% sr_idle@info
on_info2 = {!actor_in_zone(sv_b11_hunter_wound_sr)} sr_idle@in_zone

[sr_idle@info]
on_info = {+b11_hunter_break_dialog_2} %=run_postprocess(black:3009:true) =disable_ui =remove_squad(sim_hunter_help_wounded_squad)% sr_idle@stop_process
on_info2 = {+b11_actor_dist_ge_50_thanx_hunter} %=remove_squad(sim_hunter_help_wounded_squad)% sr_idle@medic

[sr_idle@stop_process]
on_game_timer = 20 | %=stop_postprocess(3009) =enable_ui% sr_idle@medic

[sr_idle@medic]
on_game_timer = 10000 | {!actor_in_zone(sv_a2_stoyanka_sr)} %=messeg_zveroboy_8 =spawn_object_in(medkit:sv_a2_actor_box) =spawn_object_in(medkit:sv_a2_actor_box) =spawn_object_in(medkit:sv_a2_actor_box) =spawn_object_in(medkit:sv_a2_actor_box) =spawn_object_in(medkit:sv_a2_actor_box) =spawn_object_in(bandage:sv_a2_actor_box) =spawn_object_in(bandage:sv_a2_actor_box) =spawn_object_in(bandage:sv_a2_actor_box) =spawn_object_in(medkit_scientic:sv_a2_actor_box)% sr_idle@nil

[sr_idle@nil]