...
#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)
}
}