Re: [code] player/mob names snippet

From: Sammy (samedi@DHC.NET)
Date: 06/08/98


On Mon, 8 Jun 1998, George wrote:

> Um...that's what 'get_player_vis' does.  It's just that in this case,
> 'get_player_vis' is only called if you type '0.name'. It's a feature
> because it's documented. :)
>
> So really, just call get_player_vis always and check the result.

If you call get_player_vis, you can't goto 2.bob and expect to get to the
first mob named bob if there's a player named bob.  I used my own check
for players so you could still use x.name and expect logical results
(assuming you fix perform_immort_where).

Sam


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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