heres some of my code:
obj
troll1w1
icon = 'bg.dmi'
icon_state = ""
Entered(mob/PC/M)
if(istype(M,/mob/PC))
usr.loc = locate(6,32,2)
src.icon_state = "bf"
new/mob/troll(6,38,2)
troll1w1 = 1
troll1w1getback = src.loc
What else do i have to put on it so when they defeat the troll they go back?
I thought I could use the troll1w1getback(troll #1 in world #1)but i'm stumped on where and how to add it to my code... how do I make it wait untill they kill it then transport them back? i was gonna use a sleep() code but if they take to long, or finish early theyll have to wait =(
How Do I Make it so the code waits at "troll1w1getback = src.loc" untill they win?
Lummox JR