Timed Mini Game Choice

So I am writing a new story and it is completely unlike anything I have ever written. I am trying to do a time choice mini-game but instead of it defaulting I would like to make it if the MC doesn’t answer in time, someone else answers the question. I have never used timed choices before or mini-games, are they a similar format to regular choices, like can I do it if the timer runs out I can put another person answering under the bracket of whatever I default to?
TYIA

Okay from my experiment the timed choice automatically chooses the last option, so this is what I did.

    NARRATOR
Please answer this question

choice (question) [timed:4]
“Answer 1” {

    GIRL (talk_apathetic)
Answer.

} "Answer 2 " {

    GIRL (talk_airquotes)
Answered

}“Don’t Answer”{

}

if (question is “Answer 1”) {

@GIRL is idle_happy

@BOY is eyeroll

} elif(question is “Answer 2”) {

@GIRL is idle_happy

@BOY is eyeroll

}
else {

    BOY (talk_apathetic)
Answer.

@GIRL is idle_awkward

}

Web capture_14-5-2022_214737_www.episodeinteractive.com

Is there a wrong answer included?

Thank you for testing this, sorry I had to pick my husband from work. I am writing a contestant type story, so its more about if the reader (MC) doesn’t know the answer she loses points and one of the other contestants answers the question.

Its okay and I hope your married life is doing you good girl :wink:

Is It like optional? like the Mc has to find or learn the answer somehow?

yeah the first 2 chapters give you clues (answers) and you need to pass chapter 3 to continue the story, its all point based so even if you don’t pass chapter 3 if you try to go to 4 you will just get an message with the script from 3 with the option to end the game or continue and try and gain the points. I hope that makes sense.
Married life is awesome now. :smile:

I’m super excited about this story, but I have been working on it for months LOL I am almost done with 3 and just pumped to get it published, but I want it to be perfect as well.

1 Like

well I can’t say that I tried im at lost cause right now. The problem with this is that when using timed choices, after the timer hits 0 it goes straight to last choice instead of skipping the choices. Sorry I couldn’t help much

actually this helps immensely, because the last choice I will just alter the script to someone else answering it. so thank you, I am going to credit you in the story with coding help.

aww that’s sweet but don’t credit me I did the bare minimum :laughing:

I really don’t mind, I appreciate any help I get.

oh yeah here’s another version just in case where npc can get the question wrong if she didnt get the clues or she was slow.

#Pretend this is chapter 2 {

    GIRL (think)

(Do I want to read the book FILLED WITH ANSWERS?)
choice “No” {

gain nobook

} “YES ANSWERS” {

&GIRL is idle_read_book

@pause for 2

gain readbook

&GIRL is dustoff_loop then GIRL is shiftweight

}

#}

    NARRATOR

It’s time for TRIVIA!

    NARRATOR
Please answer this question

choice (question) [timed:4]
“Answer 1” {

    GIRL (talk_apathetic)
The answer is c

} "Answer 2 " {

    GIRL (talk_airquotes)
The answer is C

}“Answer 3”{
GIRL (talk_airquotes)
The answer is C

}“Answered to Slow”{

    BOY (talk_apathetic)
Answer.

@GIRL is idle_awkward

goto skip

}

if (readbook) {

@GIRL is idle_happy

@BOY is eyeroll

}elif (nobook) {

    NARR
WRONG!

@GIRL is idle_awkward
@BOY is primp_condescend

}
else {

    BOY (talk_apathetic)
Answer.

@GIRL is idle_awkward

}

label skip

@pause for 2

Yeah I got a lot of work to do with figuring out how to make it that someone answers if they let the timer run out or get the answer wrong.

1 Like