hi, somebody know how to do 1 state like the waiting state example sonic waiting i tried do that but the new state still there if i move and i dont want that,
i try do new state like the wait status of characters ends if i do other action.
I'm assuming that you don't want to use the vanilla waiting state for this so
After checking if the player is in that custom waiting state do something like this:
if player.cmd.forwardmove != 0
or player.cmd.sidemove != 0 then
player.mo.state = S_PLAY_WALK (or whatever state you like)
end
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.