First, this is my wander() proc.
mob/proc/Wander(D)
for()
step(src,pick(NORTH,SOUTH,EAST,WEST,0,0,0))
sleep(D)
how would I make it so that the mob can't Wander out of a certain area, like for example che chef can't wander out of the kitchen?
And second, How would I make it so that a certain MIDI plays in each area?
I'm sure these are really nooby questions, like every time, but if someone could at least help me learn about areas that would be great. Thanks.
And if you wanted to play a sound for the area, I'm not sure which method would better, defining a variable for all areas that would have the midi in it, or just having an Enter proc for each area that you want music to play in...but I'd choose the first: