How to answer a NPC's questions in a dialog?

  • #1, by AkcayKaraazmakSunday, 16. August 2015, 09:43 9 years ago
    Hi guys,

    In a dialog with an npc, I want the npc tell something and then the main chracter should give an answer (decision) to the npc. How could I do it?

    For example:

    NPC: Can you go and bring that box for me?
    Main_character: * Yes sure OR * No (And condition of a variable will change according to main character's answer)

    Anybody can help?smile

    Cheers

    Great Poster

    440 Posts


  • #2, by Simon_ASASunday, 16. August 2015, 15:40 9 years ago
    I don't know, I never worked with characters in VS so there are no dialogs in my games, but I bet that the answer is somewhere on the forums or the wiki.

    I have found these threads with similar questions:
    http://www.visionaire-studio.net/forum/thread/dialog-questions/
    http://www.visionaire-studio.net/forum/thread/multiple-choice/
    http://www.visionaire-studio.net/forum/thread/prompting-the-...

    Hope it helps.

    Great Poster

    321 Posts

  • #3, by AkcayKaraazmakMonday, 17. August 2015, 11:01 9 years ago
    Cheers mate

    Great Poster

    440 Posts

  • #4, by DilatedTuesday, 18. August 2015, 07:33 9 years ago
    Just set up a regular dialogue tree? Not sure whats your specific need.

    Just make a branch in the dialogue tree that gives you the two options. So.

    1. Hello
    2.Aww yiss
    3.Goodbye.

    Choose 1. Npc reply: Hello, are you the worst protagonist ever.

    Dialogue tree branches out (Press the plus when 1 is selected)

    1.1Yes
    1.2No

    Then just attach the conditions too "If the dialogue is selected execute action" This is on the bottom right of the screen.

    Is that what you want?

    Forum Fan

    149 Posts