If I do the player change his current state to the fall state when his momz is below -50 fracunit how I do to change the new state to the original one when the player momz is above -50 fracunit?
Thanks, but I'm reffering to the state command, like: if player.mo.momz > -50*FRACUNIT the player.mo.state != S_PLAY_FALL or something (sorry if you don't understand me, english isn't my native language)
Ohhh, my bad. In that case, use if player.mo.momz > -50*FRACUNIT then player.mo.state == S_PLAY_JUMP or replace S_PLAY_JUMP with whatever animation you want
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.