ID:239348
Feb 1 2012, 10:00 pm
|
|
Ever wanted NPCs to wander around like zombies? Well, that can't really happen in this library, they don't chase you! But, they do wander, and it quite gives them more of a human-like way of thinking. Ha! Enjoy.
|
Feb 3 2012, 3:48 am (Edited on Feb 3 2012, 4:05 am)
|
|
Can it do anything that step_rand() can't do, besides the random sleep() calls?
|
I typed this up in about 10 seconds, so I believe not. But if no random sleep() calls, then it wouldn't succeed in it's purpose, now would it? ^^
|
mob //Declaring it's going to be a mob What you did was define an already built in proc, when you could have made it alot shorter, and more helpful to new programmers.
/* Cheers. |
In response to Avainer1
|
|
Avainer1 wrote:
What you did was define an already built in proc walk_rand() does not vary the time between each movement |
In response to Falacy
|
|
Lag: Delay in world ticks between movement.
huh |
That delay is the same between each movement. Even if you pass it a rand() value, it is only configured once.
|