Timed Choices Code


#1

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.


FEATURE: Timed Choices
FEATURE: UPDATE: New Version BETTER Than Full Character Display?
Script templates! I will help you!
Crime Story Tips
#2

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


#3

No problem!


#4

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


#5

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


#6

Tysm that is so cool :heart_eyes:


#7

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


#8

Thank you!


#9

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


#10

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


#11

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


#12

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.


#13

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:


#14

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


#15

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


#16

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


#17

That


#18

Thanks.


#19

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


#20

More options:
image