If Click Node Then
Posted: Thu Mar 02, 2017 9:12 am
Hello I have done the tutorial Quickstart.
Now i have many Nodes.
My question is the following:
How can I react to the single clicked node
for example
NPC: "Hallo how are you"
Player Answer A: "Thx i'm fine"
Player Answer B: "Very bad"
if Answer A then{ dosomethingA}
For Example: Player.setMoney += 300;
if Answer B then {dosomethingB}
For Example: "Game Over"
A small example would be perfect
Excuse me for the basic questions, but somehow the documentation is so great. I do not see the forest in front of loud trees.
Thank you very much
Now i have many Nodes.
My question is the following:
How can I react to the single clicked node
for example
NPC: "Hallo how are you"
Player Answer A: "Thx i'm fine"
Player Answer B: "Very bad"
if Answer A then{ dosomethingA}
For Example: Player.setMoney += 300;
if Answer B then {dosomethingB}
For Example: "Game Over"
A small example would be perfect
Excuse me for the basic questions, but somehow the documentation is so great. I do not see the forest in front of loud trees.
Thank you very much