ID:266706
 
How do you get the step_rand() proc to work.
Below Is The Code I Have please alter it to show me.


mob
Animals
icon = 'Animals.dmi'
Cow
icon_state = "Cow"
proc
step_rand()


Shun Di, Out
mob
Animals
icon = 'Animals.dmi'
Cow
icon_state = "Cow"
New() //This is called when the atom enters the world
. = ..()
spawn() //Spawn here to prevent crashing. If you want it to wait a set amount of time before calling Wander(), then put a number in the middle of the spawn arguments.
src.Step()
Bump()
return 0
proc
Step()
step_rand(src)
sleep(15)
Step()

Fixed It