Posted October 31, 2022 by hauntology
This version of P+ includes a new event that you can use to set the player's state while scripting. If you want the player to jump or dash on command, simply set the state to one of those. It also includes two new states that don't have any behavior of their own but are specifically for people scripting new states. The Knockback state disables player input, but keeps gravity and collision checks. The Blanks state disables gravity and collision with walls, but keeps actor and trigger collisions.
Note, to leave either the knockback or blank state, you need to use another script.