Re: [Code] mobprogs

From: David Klasinc (klasinc@sk-pttsc.lj.edus.si)
Date: 01/16/97


On Wed, 15 Jan 1997, Daniel Koepke wrote:

> How about instead of putting the act_prog() after the SENDOK, you
> check if the person is a mobile and call act_prog() before it and
> leave SENDOK as is.
> 
>   if (IS_NPC(ch))
>     ...act_prog call...

 Since mprog_act_trigger() is called within perform_act() and the result
of changing the code so that act_trigger would be called in act() would be
pretty much the same as changing macro SENDOK, so why bother.. :) But I
could be wrong.. :)

 But Now I have one more problem... the act_trigger is only check at
mobile pulses and checking it every 10 seconds is a bit slow... I don't
want players to just sit and wait for something to happen. I changed the
PULSE_MOBILE to one second now, but I think that this is even worse then
sending act's to all mobs.

WildLion!



+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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