found this code searching took me several search's to find it
my question for this one "enemyact$(e)=" wouldin't i need "for e = blahcount" then put this in the do/loop?
enemyact$(e)= ai get entity action$(e)
if enemyact$(e)="Stopped" then enemyanim(e)=1
if enemyact$(e)="Moving Forwards" then enemyanim(e)=2
if enemyact$(e)="Moving Backwards" then enemyanim(e)=3
if enemyact$(e)="Strafing Left" then enemyanim(e)=4
if enemyact$(e)="Strafing Right" then enemyanim(e)=5
if enemyact$(e)="Stopped And Attacking" then enemyanim(e)=1
if enemyact$(e)="Moving Forwards And Attacking" then enemyanim(e)=2
if enemyact$(e)="Moving Backwards And Attacking" then enemyanim(e)=3
if enemyact$(e)="Strafing Left And Attacking" then enemyanim(e)=4
if enemyact$(e)="Strafing Right And Attacking" then enemyanim(e)=5
if ai entity exist(e)
if enemyanim(e)=1
set object speed e,64.6
set object frame e,573
endif
if enemyanim(e)=2
set object speed e,64.6
loop object e,598,622
endif
if enemyanim(e)=3
set object speed e,-64.6
loop object e,598,622
endif
if enemyanim(e)=4
set object speed e,64.6
loop object e,623,642
endif
if enemyanim(e)=5
set object speed e,64.6
loop object e,643,662
endif
if enemyhealth(e)<1
enemyisdead(e)=1
endif
if enemyisdead(e)>0
ai kill entity e
set object speed e,64.6
play object e,0,15
endif
endif
===================
No life, Lots of love, 2 Kids, God save me LOL