little question:

Code:
ENTITY* hud_ent_heart_01 = {type="Herz.mdl";view=camera;x = 700;y =  360;z = 280;tilt = 90;event=heart_1();flags2 = SHOW;}

That´s the code to create the Entity..

Now i want to animate it with:
Code:
function heart_1()
{
	my.skill1 = 1;
	while(1)
	{
		if(player.skill98 == my.skill1 + 3){ent_animate(my,"heartp",  0,ANM_CYCLE);}
		if(player.skill98 == my.skill1 + 2){ent_animate(my,"heartp", 25,ANM_CYCLE);}
		if(player.skill98 == my.skill1 + 1){ent_animate(my,"heartp", 50,ANM_CYCLE);}
		if(player.skill98 == my.skill1){    ent_animate(my,"heartp", 75,ANM_CYCLE);}
		if(player.skill98 <  my.skill1){    ent_animate(my,"heartp",100,ANM_CYCLE);}
	}
}


But the Model won´t do anything..

Why???


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<