Forums
limiting jumps to, say two
|
|
how do you limit the amount of times you can jump? I wish I could, but I can't be bothered |
|
|
|
Have a counter and check it when the player presses the jump button. If you haven't hit the maximum value, add one and jump. If you have, don't jump. Reset the counter to zero when they can jump again. |
|
|
Moderator 2844 posts |
You'll probably want to use variables. There's an explanation about these in the YoYo Games WIKI. Check it out when the server is back on. Visit www.trollsplatterer.be for some files I made to help people out. |
|
|
|
add a variable in the startevent like:
|
|
