Welcome Forums Get help Npc Talks Once

Viewing 3 posts - 1 through 3 (of 3 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

    #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!

    #51775
    GreenRibbonGaming
    Participant

    This is extremely helpful. I am brand new to game development & have never used a tool like RPG Playground before. Now that I am learning how to correctly use tokens & invisible doors/switches, the process has become a lot easier. Thank you.

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