how can i use AutoLoad variables in Dialogic? #1453
Answered
by
zaknafean
seed071608
asked this question in
Q&A
-
My English is poor!!
Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
zaknafean
Mar 2, 2023
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jowan-Spooner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So what you need to do is use dialogic definitions to bridge between GDScript and Dialogic. This is thankfully pretty simple, but is a multistep process, so here it goes.
Step 1 Create the definition in Dialogic. You can name this whatever you want
Feel free to give it a default value for testing
Step 2 Set the definition in GDScript. This is pretty straight forward.
The link has been made! Now how do you use it?
Step 3 Use the definition in Dialogic
Very simple again just use brackets!
And it will look a little something like this
You can change the value of a definition with the Set Value Event
And you can get the current val…