Re: [CODE] [NEWBIE] do_switch with more then one person

From: George Greer (greerga@circlemud.org)
Date: 12/01/01


On Sat, 1 Dec 2001, Zerin wrote:

>    I was wondering if it is possible for more then one person to switch
>into a mob.  I have been beating my head up against the wall thinking and
>I seem not to be able to come up with a SAFE way to do it.  You may ask
>why? Well... long story for me to explain but there will be command in
>the mud for when two players deciede that they want to fuse then they
>will have alot of things going to do it, and when it succeds a mob will
>be created, they would be switched into that mob, then there bodies into
>a special holding zone.  When 30 minutes pass, then there bodies are
>reswitched back to the room they are at. Only thing I can't figure out is
>how to switch two people.  I know how to do one...

The identity "d == d->character->desc" is used by CircleMUD.  In addition,
everything assumes a 1:1 character/descriptor relationship.  If you want to
do it, you'll need to rearchitect a good portion of the I/O code.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/24/03 PDT