Search Unity

Conversation Trees

Discussion in 'Scripting' started by GargerathSunman, May 2, 2008.

  1. GargerathSunman

    GargerathSunman

    Joined:
    May 1, 2008
    Posts:
    1,571
    How do you setup a keypress for initiating a conversation with an object? I know this is probably related to the GUI and mouse handling, but I don't know where to look in the scripting functions.

    Basically, I want a multi-choice conversation that makes different variables true or false depending on the answer. (Or increments a number, but that's pretty easy to do if you can set a true or false)

    Anyone have any idea?