In constants.c define a new array called rev_dirs.
const char *rev_dirs[] = {
"south",
"west",
"north",
"east",
"down",
"up",
"\n"
};
And use that instead of dirs[] when a char enters a room.
-Johan
> From: Leonard Burns IV <lburns@continet.com>
>
> 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?
> --
> Leonard Burns IV
> lburns@continet.com
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
> +-----------------------------------------------------------+
>
>
+-----------------------------------------------------------+
| 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