[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {=dist_to_actor_le(30) =actor_active_detector(teleport_detector)} sr_particle@mil_teleport %=play_sound(jup_b16_oasis_noise)%
on_info2 = {+stop_limansk_teleport} sr_idle@stop_teleport
on_info3 = {+fplay_degtyr_dialog_end} sr_idle@quest_control_1

[sr_particle@mil_teleport]
name = anomaly2\anomaly_spatial_bubble_rupture
path = jupiter_to_bar_way
mode = 2
looped = true 
on_info = {=actor_in_zone(jupiter_to_bar) =actor_active_detector(teleport_detector)} sr_idle@start_teleport %=run_postprocess(fade_in:8610) =disable_ui()%
on_info2 = {!actor_active_detector(teleport_detector)} sr_idle@wait
on_info3 = {=dist_to_actor_ge(31)} sr_idle@wait

[sr_idle@start_teleport]
on_game_timer = 20 | sr_idle@wait %=cleaner_weapons =teleport_actor(jupiter_to_bar_walk:jupiter_to_bar_look) =forward_game_time(1) -actor_arrived%

[sr_idle@stop_teleport]
on_info  = {-stop_limansk_teleport} sr_idle@wait
on_info2 = {+fplay_degtyr_dialog_end} sr_idle@quest_control_1

[sr_idle@quest_control_1]
