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
ID:175144
![]() Jun 5 2003, 6:21 pm
|
|
<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().