Oh i still haven't figured this out yet. Array for Interactive Dialog

Building on Everynone’s example, some things to consider:

  • 1 main data table or a data table for each individual?
  • Text display time variable, since I bet the time it takes to say some sentences varies. Unless you base it on the audio file length/is playing or something.
  • Use enums. Instead of Ints to identify something which may sound simple and comfortable, can get confusing. If you are not yet comfortable with enums, then play around with them until you are and then use them.
  • Use class variables. Instead of having an identifier in the data table, getting the identifier, using the identifier to get the item that you want… directly use the item. In the portrait case - use the portrait image, audio file - use the audio file. Etc. Wherever possible of course.