you forgot IGNORE_PASSABLE in c_move

c_move(me, vector(distance,0,0), NULL, GLIDE | IGNORE_PASSABLE);
and here
Code:
function staff()
{
   VECTOR wpos;
      while(1)
      {
	set(my,PASSABLE);
	vec_for_vertex(wpos, player, 23);
	my.x = wpos.x;
	my.y= wpos.y;
	my.z = wpos.z;
	my.pan = player.pan;
	wait(1);
      }
}



I would do the set(my,PASSABLE); before the while loop
like this
Code:
function staff()
{
   VECTOR wpos;
set(my,PASSABLE);      
while(1)
      {
	vec_for_vertex(wpos, player, 23);
	my.x = wpos.x;
	my.y= wpos.y;
	my.z = wpos.z;
	my.pan = player.pan;
	wait(1);
      }
}


WFG Progger laugh





Last edited by Progger; 04/13/10 13:20.

asking is the best Way to get help laugh laugh laugh