ID:175776
Mar 12 2003, 7:08 am
|
|
Please may I have the code to make NPC's do Random Movement the Whole time.
|
In response to Fint
|
|
Thank you!
|
In response to Fint
|
|
Fint wrote:
mob---------------------------------------------------- I tried the code and got NPC.dm:8:error:10:value not allowed here NPC.dm:9:error::empty type name (indentation error?) |
In response to Gokuss4neo
|
|
This sould working just fine, anyone knows whats wrong?
|
Gokuss4neo wrote:
Please may I have the code to make NPC's do Random Movement the Whole time. The Code |
Whatever
New()
spawn(10)
Random_Walk()
mob/proc/Random_Walk()
while(src)
step_rand(src)
sleep(rand(10,30))
<font color=FF0000>~Fint~</font>