Lets do some debugging

We are going to check if the bone functions are failing
Code:
...

#define BEND_WAIST    skill17

...

action player_code()
{
   ...
var this=0;
var that =0 ; 
var more =0; 

  this= ent_bonereset(my,"Bone"); // It appears that "Bone" is the default name
                             //    given to the "waist" bone in MED.

   ...

   while(1)
   {
      ...

      my.BEND_WAIST += 5 * mouse_force.y;
      that=ent_bonerotate(me, "Bone", vector(0,my.BEND_WAIST,0));

      ...
      DEBUG_VAR(this,50);
      DEBUG_VAR(that,100);

      wait(1)
   }
}



You should see 2 red numbers on scene, YOU SHOULD NOT see 0(zero's)
If you see 0(zero's) than THIS or THAT is failing

Last edited by Malice; 10/16/15 22:47.