Re: DG Script problem

From: Carlton Colter (carlton@COLTER.COM)
Date: 10/07/02

Sorry to keep on posting so many messages regarding this issue...

I think the problem is in these lines of code in find_replacement

      switch (type) {
      case MOB_TRIGGER:
        ch = (char_data *) go;

        /* Problemed Section */
        if ((o = get_object_in_equip(ch, name)));
        else if ((o = get_obj_in_list(name, ch->carrying)));
        else if ((c = get_char_room(name, NULL, IN_ROOM(ch))));
        else if ((o = get_obj_in_list(name,world[IN_ROOM(ch)].contents)));
        else if ((c = get_char(name)));
        else if ((o = get_obj(name)));
        else if ((r = get_room(name))) {}
        /* End of problem'd section */


I'm pretty sure of what it does, but not of how it works.  Any help would
be appreciated.


   | FAQ: |
   | Archives: |
   | Newbie List:   |

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