Hi, all!
OK, this is a SugarCube question,but I think it would be the same with Harlowe with the (live:) macro.
Bon, coucou.
<<set $pie to "XXX">>
<br>What's your favorite pie?
<br><<radiobutton "$pie" "blueberry">> Blueberry ?
<br><<radiobutton "$pie" "cherry">> Cherry?
<br><<radiobutton "$pie" "coconut cream">> Coconut cream?
<<repeat 1s>>
<<if $pie != "XXX">>
<br><br><<print $pie>>
<<stop>>
<</if>>
<</repeat>>
<br><br>Finished
Apparently, everything works as advertised: when I click one of the three radiobuttons, at the next 1 second cycle the value of $pie is printed.
But, BUT: "Finished" is printed immediately, and I don't want to see it before the user has made a choice. Even worse: this makes this code unusable as this passage is intended to be included in another one.
Can we stop Twine's execution while waiting for user input ? And I don't want to stop it with "[[Whatever|Wherever]]". I want to do that in the middle of a passage or in an included passage.
Thanks in advance.