Re: Doors

From: Daniel Koepke (
Date: 02/25/97

On Tue, 25 Feb 1997, Ron Hensley wrote:

> Anyone played with doors enough to know how to create and destroy them 
> safely and accurately?

In code? Yes...

  if (EXIT(ch, NORTH)) // already one to the north
    return 0;
  CREATE(EXIT(ch, NORTH), struct room_direction_data, 1);
  // now setup room information

As for deleting it after a certain time period? If you have event
queues or whatnot, that'll be of some service, and just do:


Daniel Koepke
Forgive me father, for I am sin.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |
|    Or send 'info circle' to     |

This archive was generated by hypermail 2b30 : 12/18/00 PST