Icon-Ninja
New member
This may have been covered elsewhere, but I've been out of the loop for the past several months due to work, and I'm finally getting back to my projects, but I'm having trouble disabling the player character's attack while airborne (working in 4.1.5 at the moment). I just want the player to be unable to attack unless their feet are on the ground. I know there's a check for PlayerIsNotInAir but how do I properly add it to the attack script(s)? I'm currently using the create_melee_weapon (to render the character's attack anim; basically made the "weapon" look like the character to address some animation needs) and the create_projectile_platformer scripts for my attack.