Spec_procs, ex: Mayor

From: Linebacker (linebacker@microlink.net)
Date: 07/13/96


        
Can someone explain exactly how the spec_procs where mobs
are moving around, such as the mayor in stock pl11, are
done.

I created a spec_proc very similiar to the mayor, only alot 
shorter, and I am having problems. The mob kinda goes extra
steps. My path is this:

[S552OG044R.]

The S is to change the mob from resting to standing
down
down
south
The O is to unlock and open the porticullis
The G is to anounce the city is open
north
up
up
rest
The . is to end movement (break)

The rest of the code is idnetical to the mayor with the exception
of the cases I removed and I added case 4 and case 5 for the movement
commands.

What the mod will do is this: (although it varies each time)
stand
down
down
south
south
south
north
act (the announcement)
north
up
up
up

and sometimes he will even throw in an east command.

The return path is the same path but closing and locking the porticullis
instead.

The only possible thing I can think of causing this is that I have changed my
PUSLE_MOBILE, PULSE_ZONE, and passes per second and that kind of stuff.
Anyone have any idea where to look?

Thanks 4 any help,
Chuck



This archive was generated by hypermail 2b30 : 12/07/00 PST