/
roa/
roa/lib/boards/
roa/lib/config/
roa/lib/edits/
roa/lib/help/
roa/lib/misc/
roa/lib/plrobjs/
roa/lib/quests/
roa/lib/socials/
roa/lib/www/
roa/lib/www/LEDSign/
roa/lib/www/LEDSign/fonts/
roa/lib/www/LEDSign/scripts/
roa/src/s_inc/
roa/src/sclient/
roa/src/sclient/binary/
roa/src/sclient/text/
roa/src/util/
MOBPROC FLAG FOR MOBILES

Mobprocs, mobprocs everywhere, ya hear a lot about em, but sometimes ya
just don't understand what they are or what they do or even how to give
a mob a mobproc.  Hopefully, this will clarify things a bit.

If you've ever seen the Mayor walking around, or the sage blabbing -- those
are MOBPROCs, though those are %Bhard-coded%0 in the actual code of the
MUD.  What we're gonna discuss is how to make em with RoA OLC, that is,
how to make a MOB a MOBPROC mob through OLC.

%BStep 1%0: make a mob
%BStep 2%0: set one of the SPC_FLAGS of the mob to SPC_MOBPROC
            %6NOTE: A mob cannot be a RANDOM and MOBPROC...%0

%BStep 3%0: Enter the %5MobProc Command Menu%0 (or a similarly named menu)
%BStep 4%0: enter the command list you want the MOB to follow
            you MUST seperate each command with a linefeed...
            example>  smile
                      say hello
                      mpause 5
                      grin
                      say done!
                      mend

            NOTE!!:  the comands are seperated by a linefeed
            (just hit return after every command while yer editting)

%BStep 5%0: Yer done, just save the mob and yer off...

%BCommands unique to MOBPROCS%0

  To see the mobproc commands available, type: %Bmprocshow mcom%0
  and then %Bwizhelp <command>%0 to see more info about each mobproc
  command.
 
%BNote about the wrap affect%0
   If you do not specifically %6mend%0 a mobproc, it will reach the end of
its command list and restart again from the beginning, i.e. it loops thru
the mobproc infinitely until it reaches an end or is killed...  You can 
counter this by using trigger waits or mgotos, however.

Note: mobs will not perform mobprocs if charmed.