obj
var
countdown=10
direction
Boom_Bullet
icon='Bullets.dmi'
icon_state="Boomer"
New()
while(countdown)
countdown--
step(src,SOUTH)
sleep(0.5)
var/obj/Pellet/P = new()
P.loc=locate(src.x,src.y,src.z)
P.direction=WEST
del(src)
Pellet
icon='Bullets.dmi'
icon_state="Pellet"
New()
walk(src,src.direction)
spawn(5) del(src)
Problem description:
Basically, I want to make a bullet that travels downwards for a short time, then disappears; leaving behind a different bullet that travels westward. Everything works fine except I'm having problems getting the bullet to actually move..Any help would be lovely
Thanks in advance
Do you have something else preventing/governing movement?
Such as and obj/Move() proc?
Side note:
I was of the understanding that BYOND couldnt interpret sleep(0.5) and rounded it to sleep(1)?? Interested to know otherwise.
TBH could test it but CBF.