Timed Choices Code

Guys, there are timed choices in the writing portal! The code is:

CHAR
Dialogue

choice [timed:the # of seconds you want, the default is 15]
"option 1" {
CHAR
Dialogue
}
"option 2" {
CHAR
Dialogue
}   

But it seems like when time runs out the last choice is picked. Anyway, just wanted to share this knowledge with ya. Also, I didn’t know whether this was the right sub to put this in so please transfer it to another sub if needed.

158 Likes

Omg thank you for this! This is great, especially with the Thriller contest going on!

4 Likes

No problem!

1 Like

This is so cool! I see you edited the code, nevermind. :grin:

2 Likes

Cool :slight_smile: where did you found out about it? :slight_smile::thinking:

1 Like

Tysm that is so cool :heart_eyes:

1 Like

Haha, it was a mistake. I was checking whether you could have panning regular choices instead of panning tappable overlay choices, and it gave me an error and gave me a bunch of other options I could use in the error box

6 Likes

Thank you!

1 Like

Oh my GOD! Thank you so much! :grin:

1 Like

Wow, this is amazing! :sunglasses::facepunch:

2 Likes

Have you checked to see if it works and if it will save without any errors?

3 Likes

I’ve checked and it doesn’t have any errors. The only issue is, is that it breaks the Writers Portal preview and gives a ‘runtime error’. It works in app fine though.

4 Likes

I’m going to assume it’s one of those things (like having multiple styles in one story) that we can kind of use then but it would be discouraged because at any time the code could break :joy:

4 Likes

Haha yes! Hopefully it’ll stick around for a while before it becomes a problem. :sweat_smile:

2 Likes

Or hopefully they officially release it bug-free soon :slight_smile:

2 Likes

What happens if the reader fails to choose a choice within the time limit?

That

Thanks.

1 Like

Wow, this is such a cool new option. Thanks for telling us!

1 Like

More options:
image

6 Likes