ID:171666
 
I was wondering, I have a game idea, but I don't know a freeze verb just incase someone scams someone and I need to stop them. So, can anyone tell me where to find one or post one, please?










Thank you
-Paynekiller
mob/verb/Freeze(mob/M)
M<<"Brrrrr! It's cold!"


Seriously, you have to be specific. Whats a freeze verb?
In response to Airjoe
lol, i believe they mean a Freeze verb, as in a verb which stops a mob in their tracks where the target mob can't move. its very handy when it comes to a game, like thoes freeze-tag games out there.

btw, lol i don't know that code sorry.
This is what you wanted I believe. -Ryne R.

mob/var/CanMove = 1 //You may make this a TMP variable, incase they leave before you unfreeze them
mob/Move()
if(!CanMove)
return //stops the proc, ends movement
..()

mob/verb/Freeze_Movement(mob/M in world)
set category = "Admin"
set desc = "(Target) Will stop in tracks"
if(M.CanMove) //Checks if M is locked or not
M << "[src] stops you from moving!"
M.CanMove = 0 //locks them
src << "You freeze [M]."
else
M << "[src] allows you to move again!"
M.CanMove = 1 //frees them
src << "You unfreeze [M]."
In response to Airjoe
Thank you for your help. And i'll remember to wear a jacket b4 I use that freeze verb, airjoe.