Hello,
I have variables in my Dialogue Base.
At the end of the dialog, I have the value of the variable "EndDialogue" which changes to 1.
I would like to change this value from a script.
I don't find the way to call variables in the dialog system.
Thx & excuse my english.
Change Variable
Re: Change Variable
Hi,
Use DialogueLua.GetVariable() and SetVariable(). Example:
Use DialogueLua.GetVariable() and SetVariable(). Example:
Code: Select all
using PixelCrushers.DialogueSystem; // (Put at top of script.)
...
DialogueLua.SetVariable("playerName", "ludo2vie");