Global variables?
Posted: Mon Aug 09, 2021 3:20 pm
I have a currency int variable.
Can I have it across multiple databases?
I have a SendMessage that can increase the currency amount. (DialogueLua.GetVariable) What if I want to run a conversation from an extra database tho?
Can I still add a condition if currency is above certain amount?
Will DialogueLua.GetVariable still work? What if each database has a variable with the same name? How does it know which one to pick?
Can I have it across multiple databases?
I have a SendMessage that can increase the currency amount. (DialogueLua.GetVariable) What if I want to run a conversation from an extra database tho?
Can I still add a condition if currency is above certain amount?
Will DialogueLua.GetVariable still work? What if each database has a variable with the same name? How does it know which one to pick?