mob/proc
Begin_wave()
var/obj/Enemy/A = new()
spawn(5)
A.Start()
var/obj/Enemy/B = new()
spawn(5)
B.Start()
var/obj/Enemy/C = new()
spawn(5)
C.Start()
var/obj/Enemy/D = new()
spawn(5)
D.Start()
var/obj/Enemy/E = new()
spawn(5)
E.Start()
var/obj/Enemy/F = new()
spawn(5)
F.Start()
var/obj/Enemy/G = new()
spawn(5)
G.Start()
A.HP += 5 * src.wave
B.HP += 5 * src.wave
C.HP += 5 * src.wave
D.HP += 5 * src.wave
E.HP += 5 * src.wave
F.HP += 5 * src.wave
G.HP += 5 * src.wave
src.wave += 1
obj/proc/Start()
sleep(5)
world<<"J"
src.Move(locate(1,5,1))
step(src,EAST)
sleep(5)
step(src,EAST)
sleep(5)
step(src,EAST)
sleep(5)
step(src,EAST)
sleep(5)
step(src,EAST)
sleep(5)
//... and on and on
Problem description:
I'm trying to make it smooth like. One spawns, one second later another spawns so it's a trail of them intead of one big glob of obj's. So why does spawn make them all move at the same time to the destination? I've even set it to send a message to see if more than one spawned, and all of them did. They were just all in one place.