Hers what ive got something that might help you.
If it helps give credti took long tiem to do! thanks.
code:
 

define anims_speed, skill1;

entity* shit;

function do_shit()
{
while(shit == null) { wait(1); }
my = shit;//key to ent movement
shit.anims_speed = 0;//reset

while(1)
{//breakpoint;
ent_cycle("shit",shit.anims_speed);
shit.anims_speed += 1 * time;
if(shit.anims_speed >= 100) { break; }
wait(1);
}
}on_x do_shit;

action shit { shit = me; }

//**END**************************************/




~Shummy Level Designer/Scripts º_º€Lkº_ºBð¥º_Šøƒ†_º [url=http://www.elkboysoftware.cjb.net]www.elkboysoftware.cjb.net[/url] skater_boy29@hotmail.com