Custom dialogue: lines not playing due to bad chapter and check setup. [locked] (1 Viewer)

Status
Not open for further replies.

1TruNurse

Writer
Joined
Mar 20, 2025
I originally had a problem with a system using the variable "chapter" to progress over multiple linetypes, but it doesn't play the lines in order or at all. The intro sequence plays correctly and doesn't repeat so the chapter value is increasing, but then the linetypes that check for that value won't play, and sometimes the later lines would play as though a value was skipped. If you're using {"set":{"chapter":"+1"}} and it's causing problems with lines loading, then just directly set each value individually.

Edit: This was a question asking for help at first but I solved it, if the use of chapters described here has been mentioned elsewhere then please delete this thread. An example of what I'm referring to is below.

Instead of {"set":{"chapter":"+1"}}, use {"set":{"chapter":{(x)}}; where x is the chapter number desired and the '()' brackets are removed.

intro:"ready to go?[intro2]"{"check":{"chapter":0}}
intro2:"yeah let's go to chapter 1"{"set":{"chapter":1}}

general:"okay what's next?[general2]"{"check":{"chapter":1}}
general2:"it's gonna be chapter 2 now"{"set":{"chapter":2}}
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.