Its okay least you fixed it lol. Dont suppose you could help me with one last problem when I jump I want it to play a sound so I have this code at the top
Code:
SOUND* woosh = "woosh.wav"; //jumping sound
and then in my action main_player I have this inside the while(1)
Code:
if((key_space)&&(me.z<=20))   c_move(me,vector(0,0,10),NULL,GLIDE);   //only add jump when "on-ground"( Im guessing my.z=20 is on the ground? )
      else if(me.z > 20)   c_move(me,vector(0,0,-0.8),NULL,GLIDE);  //fall now allows you to land "on" things
ent_playsound(main_player,woosh,100); //jump effect sound
but when the game loads it says error in main_player.

Last edited by JakeBilbe; 04/26/09 02:06.