@name Dual Turret Ammut
@inputs 
@outputs 
@persist 
@trigger 

interval(1)
if(first()){
    holoCreate(1)
    holoModel(1,"hq_cylinder")
    holoScale(1,vec(2,2,2))
    holoCreate(2)
    holoScale(2,vec(0.5,0.5,10))
    holoCreate(3)
    holoPos(3,entity():pos() + vec(30,0,60))
    holoScale(3,vec(10,1,1))
    holoParent(3,2)
}

Y = owner():eyeAngles():yaw()
R = holoEntity(1):angles():roll()
holoAng(2,ang(10,Y,0))
holoCreate(4)
holoPos(4,owner():pos() + vec(0,0,60))
holoAng(4,owner():eyeAngles())
