Alright guys, bear with me. I know that you have told me how to do this a million times. But still its hard to figure out how to do it.. or it is just glitched but i dont think so. Anyway heres my question If i keep pressing the spacebar, my character just keeps on jumping. and how do i make it so he only jumps once. until he stops on the ground?
Heres what i'm doing. > player actor> collision with ground> script> and im typing if(canJump=1);
yvelocity=-8;
canJump=0;
Then i do a collision finish with ground and i type in canJump=1;
do i need to make the variable actor,integer? or Global int?
Or is it just somthing im doing wrong.
And yes, i have seen all of the forums on this. and it is still not working.
I need help. because if i cant make this stop, people are just going to cheat in my game.