ID:178442
 
Ok another question lol, anyway back to other questions I'm trying to delay movement and actions. So I get my delay():

proc/Delay()
if(spd == 1)
sleep(30)

then

Move()
usr.Delay()
..()

but when I run the game my players don't move at all.

Please help thanks again.
Jinks wrote:
Ok another question lol, anyway back to other questions I'm trying to delay movement and actions. So I get my delay():

proc/Delay()
if(spd == 1)
sleep(30)

then

Move()
usr.Delay()
..()

but when I run the game my players don't move at all.

Please help thanks again.

proc/Delay()
if(spd == 1)
sleep(30)

mob/Move()
if(spd == 1)
Delay()
else
..()


-Kappa the Imp
Jinks wrote:
Ok another question lol, anyway back to other questions I'm trying to delay movement and actions. So I get my delay():

proc/Delay()
if(spd == 1)
sleep(30)

then

Move()
usr.Delay()
..()

but when I run the game my players don't move at all.

Please help thanks again.

Move()
usr.Delay()
..() // indent this
In response to Kappa the Imp
You version won't help unless there is some way to set speed to a different value (or if that is even desireable). Otherwise, the parent Move() proc will never be called, and movement still won't occur.
In response to Skysaw
thx I got the move to work right.