@name Shield
@inputs 
@outputs 
@persist 
@trigger 
interval(100)

# Devil
if (first()) {
    holoCreate(1)
    holoModel(1,"models/props_c17/gravestone002a.mdl")
    holoMaterial(1,"models/debug/debugwhite")
    holoDisableShading(1,1)
    holoPos(1,entity():toWorld(vec(0,0,0)))
    holoAng(1,entity():toWorld(ang(90,-90,90)))
    holoColor(1,vec(0,0,0))
    holoParent(1,entity())
    
    holoCreate(2)
    holoPos(2,entity():toWorld(vec(-3,0,0)))
    holoAng(2,entity():toWorld(ang(0,0,90)))
    holoScale(2,vec(0.2,0.5,1))
    holoColor(2,vec(255,0,0))
    holoDisableShading(2,1)
    holoParent(2,entity())
    
    holoCreate(3)
    holoPos(3,entity():toWorld(vec(0,0,0)))
    holoAng(3,entity():toWorld(ang(0,90,90)))
    holoScale(3,vec(0.2,0.5,1.5))
    holoColor(3,vec(255,0,0))
    holoDisableShading(3,1)
    holoParent(3,entity())
}

#[ Angel
if (first()) {
    holoCreate(1)
    holoModel(1,"models/props_c17/gravestone002a.mdl")
    holoMaterial(1,"models/debug/debugwhite")
    holoDisableShading(1,1)
    holoPos(1,entity():toWorld(vec(0,0,0)))
    holoAng(1,entity():toWorld(ang(90,-90,90)))
    holoParent(1,entity())
    
    holoCreate(2)
    holoPos(2,entity():toWorld(vec(3,0,0)))
    holoAng(2,entity():toWorld(ang(0,0,90)))
    holoScale(2,vec(0.2,0.5,1))
    holoColor(2,vec(255,255,0))
    holoDisableShading(2,1)
    holoParent(2,entity())
    
    holoCreate(3)
    holoPos(3,entity():toWorld(vec(0,0,0)))
    holoAng(3,entity():toWorld(ang(0,90,90)))
    holoScale(3,vec(0.2,0.5,1.5))
    holoColor(3,vec(255,255,0))
    holoDisableShading(3,1)
    holoParent(3,entity())
}
