Re: [Circle] [CODE] Leave / Arrive question

From: Christopher M. Ryan (drizzt@visi.net)
Date: 11/06/96


> Daniel Koepke wrote this little bit of very useful code about a week ago.
> Does anyone know where
> it's suppose to go ??
> 
>  sprintf(buf, "$n has arrived from %s%s.",
> 	  (door < DOWN ? "the " : ""),
> 	  (door < DOWN ? dirs[rev_dir[door]] : 
> 	   door = DOWN ? "below" : "above"));
> 
> 
> I thought act.movement.c, and did a search fro "has arrived", but all i
> got was this line. Is this where it goes? [I don't have much faith that
> this is the line to change.]
> 
> // in do-simple_move...
> ....
>   if (!IS_AFFECTED(ch, AFF_SNEAK))
>     act("$n has arrived.", TRUE, ch, 0, 0, TO_ROOM);
> ....
> 
> 	thanks in advance once more.
> 
> Jussy
	This code was when someone asked how to make it display which direction
thhat someone enters a room from because it displays the exit direction but
not the entrance. do_simple move is the right place to put it but you are
adding this code not changing.

Christopher M. Ryan
drizzt@visi.net
http://www.visi.net/~drizzt/index.html
http://www.visi.net/~drizzt/quake/index.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