Oh my goodness yes, I'm loving WALL! Excellent writing!! And yay, I'm so glad I could help a bit with my little ol' template💗
Viewing post in Twine/Sugarcube 2 Template comments
Hello again! First off thank you so much for the kind words <3 I do have what I hope is a simple question though: how exactly do I use the toggle-able dialogue tags? I can see the section of the javascript that defines them but I'm not immediately clear on how to apply the labels to choices in a way that the settings toggle will pick up on.
Hi Charlie! No worries at all, this is a fun one. I actually touched on it in passage 3 of the template (where I talk about the live update macro). Basically, any choice you want to include a dialog tag on needs to go inside of a live block. The code would look like this:
<<liveblock>> *<<link "Choice with flirt label $flirt_label" "4">><</link>> *<<link "Choice with info label $info_label" "4">><</link>> <</liveblock>>
I'm not sure how to get the dialog tags to work with the [[ ]] brackets, so I've always used the <<link>> format. Hope this helps!
Edit: it looks like the thread is making the code text funky. There shouldn't be any line breaks in the code:)