Hi.

Is it possible to run an animation:

Code:
if(key_r){ seats = 1; }
		if(seats == 1){ my.skill1 += 1*time_step; }
      if (my.skill1 > 100) my.skill1 -= 100; 
      ent_animate(me,"gondel",my.skill1,ANM_SKIP);



And at that same moment rotate a bone?

Code:
if (key_q){ gondelarmsnelheid += 0.005; tegen = 1; mee = 0;}
		if (key_a){ gondelarmsnelheid -= 0.005; mee = 1; tegen = 0;}
		if(tegen == 1 && gondelarmsnelheid >= 1.8){ gondelarmsnelheid = 1.8; }
		if(tegen == 1 && gondelarmsnelheid == 0){ gondelarmsnelheid = 0; }
		if(mee == 1 && gondelarmsnelheid <= -1.8){ gondelarmsnelheid = -1.8; }
		if(mee == 1 && gondelarmsnelheid == 0){ gondelarmsnelheid = 0; }
		
		ent_bonerotate(my,"gondelarmkruis",vector(gondelarmsnelheid,0,0));



I tried this, and it won't work. Only the animation works. When i remove the animation code i can rotate the bone. But not if they are both in the script.

How can i rotate the bone, and run the animation both?
Hope somone help me out,

Regards,
3DGS Dutch