Re: Spell Delay

From: Franco Gasperino (awe@CET.COM)
Date: 09/21/97


Try creating some sort of spell queue that all spells are put
in upon casting, and have heartbeat() check it every so often.

Franco Gasperino
Cutting Edge Communications
http://www.cet.com/
509-444-INET
awe@cet.com

----------
> From: Tim Davis <ar782@CHEBUCTO.NS.CA>
> To: CIRCLE@post.queensu.ca
> Subject:  Spell Delay
> Date: Sunday, September 21, 1997 11:40 AM
>
> Ok.  I need to do the following:
>
> (casting a spell)
>
> 500hp 500mn 500mv> cast 'create water' wineskin
> You rub your hands and intone mystical phrases
>
> 500hp 500mn 500mv>
> You point at a empty wineskin.
>
> 500hp 480mn 500mv>
> You ~~cast~~ create water
>
> 500hp 480mn 500mv>
> A wineskin is filled
>
> Ok, im not asking for the code for create water.  :)
> What i am asking for is a means by which to make the character wait a
> round before each step in casting.  Could this be accomplised using the
> delay function defined in one of the C library Headers (dont know which one)?
> I already experimented with creating a loop that would have the same
> effect, but it just lagged the WHOLE mud.  :)
>
> Please help,
> Tim Davis
>
> ______________________________________________________________________
> Tim Davis                    || The reason lightning doesn't strike
> ar782@chebucto.ns.ca         || twice in the same place is that the
> 2pac@rinx.com                || same place isn't there the second time
> 96/97                        ||               -Willie Tyler
> ----------------------------------------------------------------------
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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/08/00 PST