Re: Aggr mobs

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/06/97

On Wed, 6 Aug 1997, System Operator: Interqom wrote:

>How would I go about creating mobs that will attack other mobs?  I have
>attempted a spec_proc, but those are only called when a player does
>something with that player,mob,room, or object in use.

SillyMUD has MOB_ANNOYING you could looking at.

Special procedures are called every 10 seconds.

In heartbeat()
  if (!(pulse % PULSE_MOBILE))

fgrep PULSE_MOBILE *.h
structs.h:#define PULSE_MOBILE    (10 RL_SEC)

Does no one read the code? I feel like Daniel lately.

-- | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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