ID:149419
May 5 2002, 9:47 am
|
|
How do you make a DeathCheck() proc that warps the user to a random location within a certain limit?
|
In response to Super16
|
|
Thanks.
|
mob/proc/DeathCheck()
if(src.health<=0)
var/X=rand(1,world.maxx)
var/Y=rand(1,world.maxy)
var/Z=rand(1,world.maxz)
src.Move(locate(X,Y,Z))