NPC dialogue and onTargetChange

Discussion in 'Community Support' started by sebastian97, Nov 18, 2019.

  1. sebastian97

    sebastian97 New Member

    Joined:
    Nov 18, 2019
    Messages:
    4
    Likes Received:
    0
    Hello, I was wondering, is there any way I could make it so an NPC responds to certain dialogue? Like I would love a trigger ~onMessage{m='quest'} that makes the NPC say a certain message in response. I know the citizens plugin does this, but I really think one NPC plugin should be sufficient. I am also having trouble making it so the onTargetChange triggers a skill. Here is the NPC I am working with .

    I think perhaps you could do some sort of signal, but I don't know how to hook that into a chat message and I also think that solution sounds like a sloppy work-around.

    controlc.com / df1dd2e8

    Here is the NPC code + error I get when stepping near her

    Have to do the link funny because of the overly-sensitive spam filter
     
    #1
    Last edited: Nov 18, 2019
  2. sebastian97

    sebastian97 New Member

    Joined:
    Nov 18, 2019
    Messages:
    4
    Likes Received:
    0

Share This Page