Skip to toolbar

Npc Talks Once

Welcome Forums Get help Npc Talks Once

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29169
    Jimmy
    Participant

    ive seen this in other games but how can I make it to where when you walk up to an npc talk to them and then when you walk up again they don’t repeat the same things

    0
    #29195
    Comprehensible
    Moderator

    Hey Jimmy!

    You can achieve this by using an if-else statement and tokens. For example:

    if hero lacks token “has spoken to NPC”

    (four spaces) NPC says “Howdy! I don’t believe I’ve met you before.”

    (four spaces) hero receives token “has spoken to NPC”

    else

    (four spaces) NPC says “It’s nice to see you again!

    I hope you find this helpful!

    0
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.