Re: [Circle] A problem with my Trap Code

From: John C. Dodds (zzan@dbeach.com)
Date: 07/27/96


Haddixx wrote:
> 
> I am trying to implement a generic special procedure to handle
> falling/transportation traps.  And have hit a stumbling block.  I want
> the trap to trigger off a command that a character types like, 'open'
> or 'close' or whatever it could be anything.  The problem is that the
> trap never gets activated.  Here is what I have:
> 
I don't know if this helps or would be efficient but couldn't you check
in ACMD(do_open) and/or ACMD(do_close) to see if container or door is a
trap? if so then call trap function, if not go on with rest of
structure?

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