Re: NC object timers

aikeena@umich.edu
Date: 10/09/96


On Tue, 8 Oct 1996, Corey Hoitsma wrote:

> Hmm, does anyone have the object timers working?
> 
> If I set a timer on a portal or a spring, it doesn't go away:p I was just
> wondering if I missed something in the code that I should know about and 
> fix:) have fun!
> 
> 
> Corey Hoitsma                   AKA -= Myrddin =-
> ____         choitsma@netcom.com
>  L|azmania			blackhwk.interpath.net 7000
> 
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 


You also have to put a clause in the function called by the heartbeat
function in comm.c that cause corpse to be remove from rooms. The timer is
just that - a timer that gets lowered every tic. You actually have to
write the code to take the timed out object from a room - the most
convenient and most probabley logical place to put it would be in the same
place as corpse decay.

aikeena

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