I have my monsters on a wander system, but I dont know how to slow them down...heres the code
"
mob/New()
if(wander) walk_rand(src)
..()
"
I have that then in each monster code i put "wander = 1" it works but they go too fast! How can I slow it down!
ID:177025
Nov 17 2002, 2:12 pm
|
|
Nov 17 2002, 2:14 pm
|
|
By looking up walk_rand() in the reference.
|
XzeroX wrote:
I have my monsters on a wander system, but I dont know how to slow them down...heres the code walk_rand() takes another argument for the delay between moves. You probably want to slow this down to 5-10 or so. Lummox JR |
In response to Garthor
|
|
they have a good point, but if you really want to make it slower, you could use step_rand()
|
In response to Magnus VI
|
|
Watch out, this guy is prone to paging you and swearing at you for giving him anything except for the exact code required to do what he wants.
|