ID:602350
 
Code:
mob
proc
Spawn()
var/mob/monsters/m = src
m.loc=null
m.dead=1
spawn(m.Rspeed)
m.aggresive = m.oldaggresive
m.exp = m.oldexp
m.dead=0
m.zenni = m.oldzenni
m.loc = locate(m.oldx,m.oldy,m.oldz)


Problem description:
Once monster is teleported it stops moving. What am i doing wrong please help :/

mob
proc
Spawn()
var/mob/monsters/m = src
m.loc=null
m.dead=1
sleep(15) <-------------
m.aggresive = m.oldaggresive
m.exp = m.oldexp
m.dead=0
m.zenni = m.oldzenni
m.loc = locate(m.oldx,m.oldy,m.oldz)

have you tried using sleep instead of spawn?
Well you make no sance and sleep cant be used this way eather.
Can you post the Rspeed function? The code you posted doesn't appear to make anything move in the first place.