...

MrMessyHair

Noob in BLua
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
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top