Timed Choices Help!

i am making a timed choice where the MC makes a choice which will kill her or she will stay alive. if the timer runs out she will die, and if she picks the wrong choice she will die. How do I make it so if the MC dies it goes back to the beginning of the scene, is it possible or will i have to recode it all over again?

Thanks for any help!:heart:

you’ll need to use labels and gotos

1 Like
2 Likes

Thank you!! You’re a life saver.

2 Likes

Would the coding just be

choice (choicename) [4]?

it is bringing up an error for me at the moment :frowning:

1 Like

Thank you for replying so quick! I have done this but it still doesnt seem to work, any ideas?

choice (gun) [timed:4]

“Quick, get the gun off him!” {
#scene
goto continue1
}
“Run away!” {
#scene
goto fight_scene
}

2 Likes

Still doesn’t work :frowning: might just have to scrap it. Thanks though.

1 Like

image

This is the error if that helps, I don’t think it has anything to do with the timing of it.

1 Like

Sorry i just had to load it back up!
Here it is :slight_smile:

image

1 Like

The “choice (GUN) [timed : 4]”

1 Like

What is the current error that shows up?

1 Like

That has removed the error of the choice line, now it is saying unexpected dialog for the line in bold, any ideas on this one?

(ps ty so much for your help, i really appreciate it :heart:)

choice [timed : 4]

"Quick, get the gun off him!" {
WAITER (draw_gun)
My Boss sends her regards.
@AURORA starts slap_face AND WAITER is startled_surprised
@pause for a beat
AURORA (laugh_giggle)
Did you really think that would work?
@AURORA starts punch_jab AND WAITER starts punch_receive
@pause for a beat
@AURORA starts punch_jab AND WAITER starts punch_receive
@pause for a beat
@AURORA starts punch_jab AND WAITER starts punch_receive
@pause for a beat
@WAITER starts idle_exhausted
@pause for a beat
@WAITER starts fall
@pause for a beat
@WAITER starts lay_awake_loop AND AURORA starts primp
AURORA
(Still got it.)
goto continue1
}
“Run away!” {
WAITER (draw_gun)
My Boss sends her regards.
@AURORA FACES right AND AURORA starts run_neutral
@pause for a beat
sound gunshots3
@WAITER shoot_loop AND AURORA run_fall
@transition fade out red
##blood scene
@transition fade in red
NARRATOR
You have Died. Click to replay the scene.
goto fight_scene
}
if (gun is timegone){
WAITER (draw_gun)
My Boss sends her regards.
@AURORA FACES right AND AURORA starts run_neutral
@pause for a beat
sound gunshots3
@WAITER shoot_loop AND AURORA run_fall
@transition fade out red
##blood scene
@transition fade in red
NARRATOR
You have Died. Click to replay the scene.
goto fight_scene
}

You need to have dialogue before the choice.
So for example:
NARRATOR
What should I do?!
choice (gun) [timed:4]
“Quick, get the gun off him!”

2 Likes

It’s worked! Thank you both so much! :heart::heart:

2 Likes

Hey there everyone :wink:
So like I’m a bit stuck here - I was wondering if someone from this wonderful forum could help me…:smiling_face_with_three_hearts:

So I am making a timed choices:

  1. Where a person runs into water
  2. Where a person covers with leaves

And I have something else planned for a reader if they run out of time and don’t get to make a choice.
I looked above here and @malax uses timegone so I tried using “if (__ is timegone)”
but it doesn’t work - it plays the last choice :sweat:!!!

What do I do ? Is there any way :grin: Thank you )))

Hey! I am pretty sure that it does take the last choice no matter what (i read this somewhere on another post) i kinda added it to see if it would work, but seeing as its the same as the last choice its pointless. :joy:

Maybe you could have a final choice where it will take them to a screen and they replay the choice again?

Hope this helps :slight_smile:

1 Like

Thank you so much :smiling_face_with_three_hearts:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.