ID:175144
 
When a spell is currently being casted, the mo/var nomo = 1, I want it so when your nomo = 1 it wont let you move. Anyone care to help?

Creator of R.P.D.
Creator of Soulance
Rifthaven
To stop player movement, you can override Move().

<code>mob var/lockmovement=0 Move() if (lockmovement) return 0 //If moving is locked, cancel movement else .=..() //If it's not locked, continue as normal</code>

The only problem with that is that it also prevents teleportation using Move().