Activate dialogue options via scripting
Posted: Wed Jun 12, 2019 12:55 pm
Hello,
I don't know how can I activate/desactivate options in the dialogue via scripting in "real time".
For example:
Start conversation:
- Hello
- Hello, how are you?
And now there is no options until the player interact with a coke (for example), so in scripting I have this: DialogueLua.SetVariable("ImFine", true). I want in THAT moment show a new option in the dialogue "I'm fine now".
Can you help me, please?
Thanks in advance.
I don't know how can I activate/desactivate options in the dialogue via scripting in "real time".
For example:
Start conversation:
- Hello
- Hello, how are you?
And now there is no options until the player interact with a coke (for example), so in scripting I have this: DialogueLua.SetVariable("ImFine", true). I want in THAT moment show a new option in the dialogue "I'm fine now".
Can you help me, please?
Thanks in advance.