A movement var and if the move var is 1 they can't move and if its 0 they can
Mob
var
move = 0
mob/verb/lock()
usr <<"Your locked!"
move = 1
mob/verb/unlock()
usr <<"Your unlocked!"
move = 0
ID:178502
May 2 2002, 7:59 pm
|
|
In response to CloneGoku2k1
|
|
....
|
In response to ShadowSiientx
|
|
use your brain and try and figure the rest out, maybe you'll learn something rather than having the answer hand fed to you all the time
-Clone [edit] here is the answer though.. mob/var/islocked = 0 mob.Move() if(src.islocked) return 0 else return ..() |
if(move)
return
else if(!move)
whatever else
that should put you on the right track ;)
-Clone