{"pages":{"start":[{"image":{"locator":"file:tease08.jpg"}},{"say":{"label":"<p>This demo tease illustrates how to have reusable segments in a tease.<\/p>","mode":"pause"}},{"goto":{"target":"Chapter1"}}],"Chapter1":[{"image":{"locator":"file:tease08.jpg"}},{"say":{"label":"<p>This is chapter 1<\/p>","mode":"autoplay","allowSkip":true}},{"say":{"label":"<p>Here you tell part of your story then, for example, go do some edges.<\/p>","mode":"autoplay","allowSkip":true}},{"image":{"locator":"file:2024-04-05-09-04-45-eval-action.jpg"}},{"say":{"label":"<p>In order to continue the story after finishing the edges set a return point in an eval as shown here.<\/p><p>You can set multiple values. Here I set how many edges and where to go afterward.<\/p><p>Then we go to the DoSomeEdges page<\/p>"}},{"eval":{"script":"AfterEdging = \"Chapter1-1\"\r\nEdgesToDo = 5"}},{"goto":{"target":"DoSomeEdges"}}],"DoSomeEdges":[{"image":{"locator":"file:tease08.jpg"}},{"say":{"label":"<p>Now we&#39;re on page DoSomeEdges.<\/p><p>This page (or series of pages) steps you through doing some edges.<\/p>","mode":"autoplay","allowSkip":true}},{"image":{"locator":"file:2024-04-05-08-50-01-say-action-with-variables.jpg"}},{"say":{"label":"<p>You can even refer to variables in the say actions as shown above.<\/p><p>You are going to do <eval>EdgesToDo<\/eval> edges, then go to page <eval>AfterEdging<\/eval><\/p><p>Just click the little eval button (&lt;&gt;) and type the name of the variable.<\/p>","mode":"pause"}},{"image":{"locator":"file:2024-04-05-08-43-36-calculated-goto.jpg"}},{"say":{"label":"<p>When done, in the goto action turn on the &quot;eval&quot; option at the upper right, and then just type the name of the variable containing the target.<\/p>"}},{"goto":{"target":"$AfterEdging"}}],"Chapter1-1":[{"image":{"locator":"file:tease08.jpg"}},{"say":{"label":"<p>Now we&#39;re on page Chapter1-1<\/p><p>If you need to do more edges, set the target page in AfterEdges just like before.<\/p>"}},{"eval":{"script":"AfterEdging = \"Chapter1-2\"\r\nEdgesToDo = 3"}},{"goto":{"target":"DoSomeEdges"}}],"Chapter1-2":[{"image":{"locator":"file:tease08.jpg"}},{"say":{"label":"<p>And continuing on page Chapter1-2<\/p>","mode":"pause"}},{"goto":{"target":"start"}}]},"files":{"2024-04-05-08-43-36-calculated-goto.jpg":{"id":2910974,"hash":"f60053538bb7e5b0573de719ef303aae003af5d3","size":44908,"type":"image\/jpeg","width":911,"height":410},"2024-04-05-08-50-01-say-action-with-variables.jpg":{"id":2910975,"hash":"42526886c19e79d61eae76563dc1149f17dfc703","size":64784,"type":"image\/jpeg","width":871,"height":626},"tease08.jpg":{"id":2910976,"hash":"6b2ce6046225b9be25ddd0423915220c5061d497","size":259308,"type":"image\/jpeg","width":900,"height":1350},"2024-04-05-09-04-45-eval-action.jpg":{"id":2910977,"hash":"737ac15fc1942a1a7180395e8eb2eb21c01497a7","size":12787,"type":"image\/jpeg","width":844,"height":255}}}