made character stop when in ranged or special animation