Re: [CODE] Leave/Arrive

From: Skylar (skylar@ifconfig.intserv.com)
Date: 10/31/96


On Thu, 31 Oct 1996, Leonard Burns IV wrote:

> In stock code it tells you which way a person leaves when they leave the 
> room, I tried to use the same procedure for when the char enters the 
> room but it just returns the last dir that they went, just like when 
> they left, any help?

Make a new array of arrive_dirs to use ...

const char *arrive_dirs[] =
{
  "the south",
  "the west",
  "the north",
  "the east",
  "below",
  "above",
  "\n"
};

This is better than using rev_dirs[] because you won't see anything silly
like this: "Skylar has arrived from up."

-Sky

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