An introduction to JSON dialogue systems

You're viewing a single comment in a conversation. View all the comments
  • 4 Comments

  • Order by
  • Thanks for sharing your Knowledge! The tutorial has some mistakes on it. I had to check on the example file (also thanks for providing it!) to verify what I was missing. (Such as using arrays for no reason, where I should be using JSON, etc)

      • [-] [+]
      • 3
      • Laura_D's avatar
      • Laura_D
      • Construct Team Community Manager
      • 3 points
      • *
      • (2 children)

      I'm a little confused as to where you think the mistake is, if you could elaborate that would be great, then it can be fixed if needed.

      Afaik, the only mention of arrays in this tutorial is in reference to the Array data type within the JSON file, not Construct's Array object.

      • I think the mistake is referring to the instructions you wrote on initialization actions:

        CONDITION

        System ▶︎ On start of layout

        ACTION

        ...

        Array ▶︎ Load from AJAX.LastData

        Instead it should be:

        JSON ▶︎ Parse JSON string AJAX.LastData