OK, I figured out part of the problem on my own.
I just put this in the moment before the shot:
Now I just want to know how to check if the player is in the air. (whether it actually jumps is irrelevant). If the player is in the air, then the code jumps to the state "ALT3";
I just put this in the moment before the shot:
Code:
TNT1 A 0 A_JumpIf(GetPlayerInput(INPUT_BUTTONS) & BT_FORWARD, "ALT1");TNT1 A 0 A_JumpIf(GetPlayerInput(INPUT_BUTTONS) & BT_BACK, "ALT2");
Statistics: Posted by OddYokai — Sat Feb 03, 2024 7:49 am