How to get/set a variable

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SBSun
Posts: 46
Joined: Thu Sep 08, 2022 6:39 pm

How to get/set a variable

Post by SBSun »

Can Variables in Dialogue Database be modified into Sequences? And I wonder if it is possible to Get/Set the value of that variable with Script.
Attachments
캡처.PNG
캡처.PNG (6.63 KiB) Viewed 194 times
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to get/set a variable

Post by Tony Li »

Hi,

In sequences, you can use the SetVariable() sequencer command to set a variable.

You can also set variables in the Script field and check them in the Conditions field. This is more common than using the SetVariable() sequencer command.
Post Reply