[logic]
active = heli_move1
on_hit = hit

[heli_move1]
path_move = aes_heli_attack_desant_walk_begin2
on_info = {+aes_desant_go} heli_move2
engine_sound = false
combat_safe_altitude = -100

[heli_move2]
path_move = aes_heli_attack_desant_walk2
path_look = aes_heli_attack_desant_look2
invulnerable = true
immortal = true
on_signal = final | %+aes_desant_wave2% heli_move3
combat_ignore = true
mute = true
combat_safe_altitude = -100

[heli_move3]
path_move = aes_heli_attack_desant_walk2_2
path_look = aes_heli_attack_desant_look2_2
on_actor_in_zone = aes_actor_heli | %=heli_set_enemy_actor%
mute = true
combat_safe_altitude = -100
on_info = {=heli_health_le(0.3)} heli_move@death

[heli_move@death]
path_move = heli_death_way
invulnerable = true
on_signal = arrived | heli_move@silent
combat_ignore = true

[heli_move@silent]
path_move = heli_death_way
invulnerable = true
engine_sound = false 
combat_ignore = true

[hit]
on_info = {+aes_desant_wave2} %+aes_choper_crush_sound =heli_start_flame%
