Re: Explanation of Extract_Char please

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 03/14/98


        Sorry, went to hit cancel on the last mesg, and hit send and hit
"yes" when prompted.. so, ignore it :)

> Hi All.
>     i'm trying to make it so that instead of being killed and going to
> the menu, you die and goto your some room defined in some constant
> array. I've removed the menu from the game though. Anyways, looking at
> the function extract_char in handler.c, i'm confussed about some stuff.
> I think it's confussing me, becuase i don't want to remove the player
> from CON_PLAYING state ... anyways .. this is what is confussing..

        Okay, its not that you're confussed. I don't think thats even a
word. What you're are doing, is that you're just trying to use the
wrong function for the wrong thing.  You want to use the function
char_to_room().  It moves a char to a room. Just make sure you set their
hits to "1" after you move them.

                                PjD


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