Page 1 of 1

Is there a way disable jumping in SMBX 1.4.3?

Posted: 24 Sep 2016, 11:23
by 9th_core
How can I disable jumping from an event? Is there a script for it? I want to make so if you fall from a high place after you enter a door (logically, after some seconds after entering the door), when you touch the ground, the jumping will be disabled, because you will break your bones from that height. If you want, I will could even give credit in the post to the level! :) Thanks!
[also, if this is not the right post, sorry but i was missing from here for a day and i can't remember many things.]

Posted: 24 Sep 2016, 12:44
by Erwill
Once, I made a event which always press jump and alt jump button, so the player can't jump again.

Posted: 24 Sep 2016, 23:05
by Lx Xzit
To disable spin jump, make a new script and insert this code:

Code: Select all

sysval(disablespinjump) = 1


To disable normal jumps:

Code: Select all

sysval(disablejump) = 1


Of course these Scripts must be activated while the level starts.
Thanks to the daily tips.