@name holo Person - By croco
@inputs V:vector
@persist ENT:entity Use Out T:entity
E = entity()
entity():setAlpha(0)
entity():propFreeze(0)
entity():propNotSolid(1)
if(owner():keyZoom()){
ENT=owner():aimEntity() 
Use = owner():keyUse()}
holoCreate(1)
holoModel(1,"models/props_borealis/bluebarrel001.mdl")
holoScale(1, vec(0.3,0.3,0.3))
holoPos(1, entity():pos()+vec(0,0,17))
holoParent(1,E)
holoAng(1,ang(0,0,0))
holoCreate(2)
holoModel(2,"models/Combine_Helicopter/helicopter_bomb01.mdl")
holoScale(2, vec(0.2,0.2,0.2))
holoPos(2, entity():pos()+vec(0,0,26))
holoParent(2,E)
holoCreate(3)
holoModel(3,"models/props_c17/canister01a.mdl")
holoScale(3, vec(0.3,0.3,0.3))
holoPos(3, entity():pos()+vec(0,0,20))
holoAng(3,ang(0,0,90))
holoParent(3,E)
holoCreate(4)
holoModel(4,"models/props_c17/canister01a.mdl")
holoScale(4, vec(0.3,0.3,0.3))
holoPos(4, entity():pos()+vec(0,0,20))
holoAng(4,ang(0,0,275))
holoParent(4,E)
holoCreate(5)
holoModel(5,"models/props_c17/canister02a.mdl")
holoScale(5, vec(0.3,0.3,0.3))
holoPos(5, entity():pos()+vec(0,2,10))
holoAng(5,ang(0,0,0))
holoParent(5,E)
holoCreate(6)
holoModel(6,"models/props_c17/canister02a.mdl")
holoScale(6, vec(0.3,0.3,0.3))
holoPos(6, entity():pos()+vec(0,-2,10))
holoAng(6,ang(0,0,0))
holoParent(6,E)
if($Use & Use){ Out++, if(Out>2) { Out = 0 }}
E=entity()
O=owner()
if(tickClk()){
}elseif(first()){
E=entity()
O=owner()
runOnTick(1)}
TarQ = quat(O:eyeAngles()+ang(90,0,90))
CurQ = quat(E)
Z = TarQ/CurQ
EP=E:pos()
TTV = E:toLocal(rotationVector(Z)+EP)
E:applyTorque((150*TTV - 12*E:angVelVector())*E:inertia())
if(Out == 0){
Target=O:shootPos()+vec(0,100,-60)}
if(Out == 1){
Target=ENT:pos()+vec(0,30,0)}   
if(Out == 2)
{Target=O:aimPos()}
E:applyForce(((Target-E:pos())*10-E:vel())*E:mass())

