Problem with conditional node ordering on articy imports
Posted: Tue Dec 08, 2020 8:23 pm
Hi,
I'm importing dialogues from articy using Dialogue System. I've been using what's basically a switch/case format in ordering: I set up (what articy calls) a Dialogue containing all of a given NPC's conversations, each of which are themselves articy Dialogues, arranged vertically and with conditionals so that Dialogue System will fall to either whichever Dialogue conditional evaluates to try, or to the default case. So the hierarchy goes parent Dialogue -> conditional children Dialogues -> lots of Dialogue Nodes.
So for example, here's the 'parent' dialogue that gets passed to Dialogue System: And here are that dialogue's contents:
However, after importing articy's xml into Dialogue System, those children dialogues are not being ordered as they are in articy, but in the order in which I created them in articy:
The page on importing from articy:draft says:
Thank you!
I'm importing dialogues from articy using Dialogue System. I've been using what's basically a switch/case format in ordering: I set up (what articy calls) a Dialogue containing all of a given NPC's conversations, each of which are themselves articy Dialogues, arranged vertically and with conditionals so that Dialogue System will fall to either whichever Dialogue conditional evaluates to try, or to the default case. So the hierarchy goes parent Dialogue -> conditional children Dialogues -> lots of Dialogue Nodes.
So for example, here's the 'parent' dialogue that gets passed to Dialogue System: And here are that dialogue's contents:
However, after importing articy's xml into Dialogue System, those children dialogues are not being ordered as they are in articy, but in the order in which I created them in articy:
The page on importing from articy:draft says:
I'm on articy v3.1.28 and the most recent Dialogue System on the asset store. I can manually reorder the nodes in Dialogue System, but they get ordered by time of creation again if I reimport articy xml. Am I misusing a tool? Do I have some import setting bungled?In articy:draft 2.4+, the Dialogue System will import the correct order of response nodes as indicated by the vertical position of the nodes on articy's canvas. Earlier versions of articy:draft (pre-2.4) do not export this information, so it's not possible to import it into the Dialogue System; instead, nodes will generally be ordered in the order they were created in articy.
Thank you!