So, I went ahead and tried this:

Code:
...

#define BEND_WAIST    skill17

...

action player_code()
{
   ...

   ent_bonereset(my,"Bone"); // It appears that "Bone" is the default name
                             //    given to the "waist" bone in MED.
   my.BEND_WAIST += 5 * mouse_force.y;

   ...

   while(1)
   {
      ...

      ent_bonerotate(me, "Bone", vector(0,my.BEND_WAIST,0));

      ...

      wait(1)
   }
}



Still nothing is happening when I move my mouse up and down.

I do notice that after I place the two bones in the player model and save it, all animations are not working at all. For example, when the player moves forward, the player is not moving its body like it is walking. It is just a stiff standing body moving forward with no animation. Same thing if I click my left mouse button which normally showed an attack animation. It is not there anymore.

I wonder if this has something to do with my the player model is not bending forward or backward at the waist when moving the mouse up or down?

Last edited by Ruben; 10/16/15 21:39.