How can I make the player only move when scripted to do so?

Basically I want to take the control off the player, not letting him able to move by pressing keys, and only letting him move if I script it to do so (example being MoveTo)
How could I do that?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.