@name rb655_test_holo_anims...
@persist A

if(first())
{
    holoCreate(1)
    holoModel(1,"models/player/alyx.mdl")
    holoParent(1,entity())

    holoCreate(2)
    holoModel(2,"models/weapons/w_pistol.mdl")
    E = holoEntity(1)
    E2 = holoEntity(2)
    holoPos(2,E:attachmentPos("anim_attachment_RH") + E2:forward() * 2 + E2:right() * 3 + E2:up() * -3)
    holoAng(2,E:attachmentAng("anim_attachment_RH") + ang(180,0,0))
    holoParentAttachment(2,E,"anim_attachment_RH")
    
    timer("NewAnim",10)
}

if(clk("NewAnim"))
{
    holoAnim(1,A)
    Len = holoAnimLength(1)
    if(Len & floor(Len))
    {
        print(holoEntity(1):model() + ": " + A + "(" + floor(Len) + ")")
    }
    A++
    timer("NewAnim",Len * 1000)
}
