Re: DG Scripts problem

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


> > Okay.. i'm having a problem with a trigger i'm trying to make. basically,
> > I'm trying to make a pet that follows me, even when i use the goto command.
> > i setup the script for him, but none of these commands work. I know they
> > are valid trigger commands, because they are in the code, but for some
> > reason, he won't goto me.
> >
>         Could be he's in a dark room, and can't CAN_SEE you, or that
> you're invis, or some other way that he can't locate you.
>
        Or, you may not realize that immortals are generally unable to
trigger scripts, according to local lore.


        Here we go though, I just thought of the best way to make the
name_from_drinkcon work like I think it ought to, and here yah go:

in name_from_drinkcon() (act.item.c), under the variable defines, add the
following lines

  extern char *drinknames[];

  if(!strtok(obj->name,drinknames[GET_OBJ_VAL(obj,2)])) {
    return;
  }
                Sure. Easy, little. Yellow. Different.

                                                        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