I have this event that makes my double-jumps have different animations, and the jumps can theoretically go on infinitely, so I'd like to swap out checking for 1 and 2, and instead check if the number is an odd or even number.
Develop games in your browser. Powerful, performant & highly capable.
Use "System Evaluate Expression" event:
Player.JumpCount%2=0 is even
Player.JumpCount%2=1 is odd
AmphibianOblivion just to explain this a little more in case it's a new topic for you, the operator (%) that dop2000 is using is called the remainder operator, sometimes called the modulo operator. It divides the two numbers and returns the remainder of that division.
Any even integer divided by two will have zero remainder. Any odd integer divided by 1 will have a remainder of 1.