ID:267652
 
hi..

how can i make a mob freeze when he goes on a certain turf?

and

how can i make a mob freeze when s/he has used a verb?

thanks
To lock a player you need to use the Move() proc, or all 8 directions(client/Corth()) and etc.
mob
var/lock = 0

Move()
if(lock)
return 0
else
..()

Now here's how you'd setup a verb to lock the player.
mob/verb/Lock_Me()
src.lock = 1


-Camaro-
In response to Camaro
thanks :-) (again)
I created a fully featured code snippet with icons, map, and source code. I'm in a good mood today. :-D

http://developer.byond.com/hub/LordofWater/MobilitySnippet
In response to Lord of Water
thanks