Re: [CODE] Timing...

From: Keith Jackson (dshadow@CLT-ONLINE.COM)
Date: 02/26/98


On Fri, 27 Feb 1998, 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.

Look at heartbeat()....it is where most of the updates are called
from.....if you look at that function..it will become clear and you'll see
the answer and a lightbulb come on over your head. etc etc etc..... =]


                dshadow
                Bane
                Genesis
                Damien
                        And a few other names too

                                Keith Jackson


     +------------------------------------------------------------+
     | 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