This code didn't work. Although I editted the script so that it was good to me.
Yesterday I had to come on a idea to animate the entity with a bone. It worked for nouw, but I don't understand a thing in the manual.
I use ent_animate to move it. But I don't know how it exactly works.
The bone that I have attached to my model have the name "arm_axis" in MED.
Should the code be like this?
Code:
ent_animate(my,"arm_axis",my.tilt,ANM_CYCLE)