Hello,
I bought this really cool dialogue system for Construct 3.
What I am trying to do is run a C3 block of code when certain line executed in the dialogue system.
Basically, I am trying to execute a C3 block of code once the last line array of "dialogue" is shown using the "JSON compare value" attempting to compare it's "id" within the "dialogue" nested array. I looked at the JSON documentation online on how to execute this. Unfortunately, it is not working. Is there something I am doing wrong or I am missing?
JSON file code:
{
"scene": [
{
"id": 0,
"dialogue": [
{
"id": 0,
"char": "npc0",
"voice": "",
"line": "This is scene 0."
},
{
"id": 1,
"char": "npc0",
"voice": "",
"line": "Here is a 2nd line."
},
{
"id": 2,
"char": "npc0",
"voice": "",
"line": "Here is a 3nd line."
}
]
}
]
}
C3 code block:
Any Help is appreciated.