How to force a player to stop moving?

Started by Zexion, March 14, 2012, 07:23:48 pm

Previous topic - Next topic

Zexion

March 14, 2012, 07:23:48 pm Last Edit: March 14, 2012, 07:48:24 pm by Zexion
I'm in a bit of a pickle. I'm using an excellent script to have more frames, and isometric movement. Works great, but it makes it impossible to use the default change graphic command. that's fine and all, but I need to be able to make certain animations play smoother.

What i need to know is if it is possible to force the play to stop moving. I'm using an event that when the player presses F they're graphic change to do an "attack" animation. It works, but they are still able to move when they use it. So i would I force the player to hault movement?

EDIT:
Resolved it on my own. Added a wait for 2 frames before the animation, which stops the player, and a wait after for 7 frames which allows it to show all the animation before returning to normal, and allowing movement