Dialogue System, change variable from 1 dialogue database via another script from scene
Dialogue System, change variable from 1 dialogue database via another script from scene
How i can change some variables from 1 dialogue database via another script from scene, thanks!
Re: Dialogue System, change variable from 1 dialogue database via another script from scene
Hi,
If you're using multiple databases, make sure you've carefully read Working With Multiple Databases. At runtime, generally speaking there's no such thing as separate databases. They're all merged into DialogueManager.masterDatabase, and you can change variable values using DialogueLua.SetVariable().
If you're using multiple databases, make sure you've carefully read Working With Multiple Databases. At runtime, generally speaking there's no such thing as separate databases. They're all merged into DialogueManager.masterDatabase, and you can change variable values using DialogueLua.SetVariable().