waiting state

Shanon

Member
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
 
Last edited:

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

Back
Top