ID:270867
 
How would I go about getting the person to appear in a rand place when they die. like and rand obj in world.

mob/proc/DeathCheck(mob/M)
for(var/obj/spawner/S)
if(!S||S in world)
src.loc=S.loc

I want it to go to a rand object and not go to the same obj in world, Help would be nice.

Dark Emrald
You could add them all to a list, then use pick to randomly pick one, and go to that one.

-Doh
In response to XxDohxX
Wooooooo, thx all fixed now.

Dark Emrald