[Help] Events

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 01/15/98

     stick it somewhere in the command_interpreter code near where _HIDE
     gets deactivated so that if they type a command it interupts the
     char's events of a certain type.  you might want to add a column to
     the command_table as a flag for which commands turn off events. or a
     bitvector of which events this command stops (for things like score,
     and inventory)

______________________________ Forward Header __________________________________
Subject:  [Help] Events
Author:  INTERNET:CIRCLE@post.queensu.ca at CSERVE
Date:    1/15/98 9:03 AM


 I have made skills here on Dreamscapes pretty much completely
event driven, using the event system off the circle ftp site.
 What I would like to do is somehow make a character stop doing
a skill if they start to do something else.  For example,

 A character starts to search, this takes about 10 RL_SEC.
While searching they type 'look', this stops the search and
nothing is found.

 What I need pointers for is where to put the clean_event call for
the character who is searching, so as to stop just that search event
for that character, not something more drastic like stopping all
characters searching ....

Any help would be appreciated.


     | 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