Hello.
I was wondering if and how is it possible to script the dialogue (database) import process.
Right now, I am using the articy import window and manually importing the dialogue each time I change it and afterwards run my own custom code to do tree analysis, sanitizing, etc... I would like to have a script that does it all. I wouldn't mind that the first time in a project I have to set the paths/parameters in the window but the following times I really want to automatize/script the whole process as much as possible.
Any thoughts?
Thank you
Scripting dialogue importing
Re: Scripting dialogue importing
Hi Edgar,
In your editor script, you could open the ArticyConverterWindow and call ConvertArticyProject:
Just make sure to set the paths/parameters beforehand.
In your editor script, you could open the ArticyConverterWindow and call ConvertArticyProject:
Code: Select all
using PixelCrushers.DialogueSystem.Articy;
...
var articyConverterWindow = EditorWindow.GetWindow(typeof(ArticyConverterWindow), false, "articy Convert");
articyConverterWindow.ConvertArticyProject();