what it says on the tin. as long as link is in the air i would like his movement to be disabled until he is not in the air.
[2.55] disable link movement if he's in the air
Started by
Jenny
, Nov 30 2022 07:42 PM
3 replies to this topic
#1
Posted 30 November 2022 - 07:42 PM
- Shane likes this
#2
Posted 30 November 2022 - 09:50 PM
like, all the time, for the whole quest?
#3
Posted 30 November 2022 - 09:53 PM
oh nah screen dependent. shouldve clarified.
#4
Posted 30 November 2022 - 10:22 PM
ffc script noMidairMove { void run() { while(true) { if (Link->Z > 0) { Input->Button[CB_UP] = false; Input->Press[CB_UP] = false; Input->Button[CB_DOWN] = false; Input->Press[CB_DOWN] = false; Input->Button[CB_LEFT] = false; Input->Press[CB_LEFT] = false; Input->Button[CB_RIGHT] = false; Input->Press[CB_RIGHT] = false; //NoAction(); } Waitframe(); } } }If you want it to disable all inputs, you can uncomment NoAction(); and delete all of the Input statements. But this should work alright
- Shane and Jenny like this
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users