@name Annoying Base V1
@persist Props:array [Owner Entity]:entity
@model models/hunter/plates/plate1x1.mdl

interval(100)

if(first()) {
    runOnLast(1)
    Owner=owner()
    Entity=entity()
    
    local BaseAABB=vec(47.450005,94.899994,3.000000)
    local LastEnt=Entity
    local AngInc=15
    local CurAng=0
    for(I=1,50) {
        CurAng+=AngInc
        LastEnt=propSpawn(
            "models/hunter/plates/plate1x2.mdl",
            LastEnt:toWorld(vec(0,90,15)),
            toWorldAng(
                vec(),
                ang(I==1 ? -15 : 0,0,0),
                vec(),
                LastEnt:toWorld(ang(0,5,0))
            ),
            1
        )
        Props:pushEntity(LastEnt)
    }
} elseif(last()) {
    soundPurge()
    holoDeleteAll()
    Props:propDelete()
}
