Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
FLARE

How does the response property work in NPC dialogs?

m7600
Sunday, February 9, 2020 - 12:03

Either I broke my copy of the engine with my bumbling tinkering, or I don't understand how to use the dialog.response property. Probably both. Can someone give me an example of how to use this property? Here is what I have, it's probably wrong:

[dialog]
topic=Introduction
him=Greetings. What brings you to this town?
response=I'm just travelling through these lands.
response=I'm here to see someone.

 

EDIT: Nevermind, I just made it work:

[dialog]
topic=Introduction
response=lands
response=someone
him=Greetings. What brings you to this town?

[dialog]
id=lands
topic=I'm just travelling through these lands.
him=Well, best of luck to you.
response_only=true

[dialog]
id=someone
topic=I'm here to see someone.
him=And who might that be?
response_only=true

Attachments: 
Preview
Screenshot from 2020-02-09 17-18-32.png Screenshot from 2020-02-09 17-18-32.png 811.9 Kb [1 download(s)]
  • Log in or register to post comments