[logic]
active = ph_idle@1

[ph_idle@1]
auto_fire = false
on_info = {+val_come_to_freedom_base_complete} ph_minigun@1


[ph_minigun@1]
auto_fire = true
invulnerable = false
fire_range = 22
fire_track_target = true
fire_angle = 360
target = actor
shoot_only_on_visible = true
on_info = {+val_deliver_ammo_complete} ph_idle


[ph_idle] ;-- пережидает огонь на прикрытие
auto_fire = false
on_info = {+val_base_alarm} ph_minigun@actor

[ph_minigun@actor]
auto_fire = true
invulnerable = false
fire_track_target = true
fire_range = 22
fire_angle = 360
target = actor
shoot_only_on_visible = true
on_info = {+val_brake_btr} ph_idle2


[ph_idle2] ;-- выключен
auto_fire = false