[question] multidatabase and variables in runtime

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

[question] multidatabase and variables in runtime

Post by alfonso »

Hi tony :)

as you know im using multidatabase (_global db and 12 chapters db) the game we are making has a lot of cutscences (83 more or less) so for the progress of the character we store the state of each cutscenes to know if the player see it or not and make things happens according their values (true or false).

i will want to know how works this kind of variables, for example when i create a variable in runtime if i use multidatabase can i choose in what database can i store it?

thanks :)
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: [question] multidatabase and variables in runtime

Post by Tony Li »

Hi Alfonso,

Those variables will be in the Dialogue System's Lua environmentm but they won't be stored in any databases. Since they're in the Lua environment, they'll be included in saved games.
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Re: [question] multidatabase and variables in runtime

Post by alfonso »

great more easy then :)
Post Reply