@name ai_animall_v1
@persist [Model Anim]:array
@persist [E O]:entity
@persist End I Anima
@persist X Y
if(first())
{
runOnTick(1)

E = entity()
O = owner()

Model = array(
"models/Kleiner.mdl",
"models/Barney.mdl",
"models/player/hostage/hostage_04.mdl",
"models/player/hostage/hostage_02.mdl",
"models/Combine_Super_Soldier.mdl",
"models/alyx.mdl",
"models/breen.mdlq",
"models/Eli.mdl",
"models/dog.mdl",
"models/Humans/Group03/male_07.mdl",
"models/Police.mdl",
"models/Combine_Scanner.mdl",
"models/Zombie/Classic.mdl",
"models/Combine_Strider.mdl",
"models/headcrabclassic.mdl",
"models/vortigaunt.mdl",
"models/monk.mdl")
}
if(!End)
{
if(holoCanCreate() & I!=100)
{
I++
holoCreate(I,E:toWorld(vec(X*100,Y*100,0)))
holoEntity(I):model(Model[17,string])
holoAnim(I,I,1,1)
if(X!=10){X++}
if(Y!=10 & X==10){X = 0 Y++}
Anim[I,number] = holoAnimLength(I)
} 
}
if(End)
{
for(A = 1,I)
{
holoAnim(A,A,Anima,1)
if(Anima<=Anim[I,number])
{
Anima++
}
else{Anima = 0}
}
}

