Re: [CODE] Timing...

From: Tony Robbins (tonyr@NWPACLINK.COM)
Date: 02/26/98


Tony Robbins wrote:
>
> I have recently added Room Affections and I would like to make it so a
> spell like "heat" would
> be updated every ten seconds or so (instead of 75? in stock).  Does this
> require an event queue?
> I'm thinking of a void raff_update(...) that would be called every 10
> seconds instead of 75...
> Anyone know how to implement this?  Or if you have?
>
> I'm stumped...  Any ideas?
> -B.

I should slap myself for that.  If you want to know what I did, I made a
raff_update just like
point_update but much smaller with cases for each.  Then I grepped for
PULSE_VIOLENCE and added
a PULSE_RAFF statement at 10 seconds.  Works great.

Thankee, Bel.


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



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