Just let the entity cycle through its whole animations:
Code:

action plant_act
{
my.material = your_material;

while(me)
{
ent_animate(me,frame_name,my.skill1,anm_cycle);
my.skill1 += 8 * time % 100; //change 8 for animation speed
wait(1);
}
}


Although this code _should_ work it might not