ID:145347
 
Code:
mob/Tital/Captain
name="Title"
density=0
icon='Player.dmi'
New()
RUN()
..()
proc/RUN()
walk(src,NORTH)
RUN()



Problem description:
I want the NPC mob to be able to move north forever, but it doesn't work..
Can somone help me out?

P.S. I'm kinda new and this is a little hard for me.
P.S.S It's for a tital screen, After i figure out the problem, I'mma make him got in circles =D

Is there any errors? If we don't see the main problems then we won't know.
There isn't any errors, But when i host the game, nothing happens. The mob stays in the same place.
In response to Nowatimean
Try having ..() before Run().


Also, try the step proc insted of walk. I think they work the same and do the same.
In response to RedlineM203
Still nothing..
In response to Nowatimean
You're having a loop there.. Add sleep(1) or sleep(5) (recommended) to the Run() proc.
In response to Mysame
Alright, i edited it again now it's

mob/Tital/Captain
name="Title"
density=0
icon='Player.dmi'
New()
..()
src.RUN()
proc/RUN()
walk(src,NORTH)
spawn(30) src.RUN()

Still the same thing, though. He just stays there and doesn't move.
In response to Nowatimean
Well, first off, since you're using 'walk' I don't see why you're re-calling it in the first place. Secondly,I said sleep, not spawn. :|
Im not 100% sure if this will work. Anyways, try it out if your willing. Oh, the src.Run() is the proc for the mob/Tital/Captain.
mob
Tital
Captain
name="Title"
density=0
icon='Player.dmi'
New()
src.RUN()
proc
RUN()
step(src,1)//PS: Its either 1 or 2 for direction NORTH
sleep(10)
src.RUN()

Two ways.
mob
Tital
Captain
density = 0
icon = 'Player.dmi'
New()
..()
spawn(1) src.Run()
proc/Run()
while(src)
sleep(10)
step(src,NORTH)

mob
Tital
Captain
density = 0
icon = 'Player.dmi'
New()
..()
spawn(1) src.Run()
proc/Run()
walk(src,NORTH)