Page 1 of 1

I need help with Branching script

Posted: Sat Jan 30, 2016 10:31 pm
by TalrixTrinity
So, I'm sorry if this question has already been asked or if it's a simple fix, but I have no idea how to do this. Knowing my luck, it's probably right under my nose the entire time but I have to ask.
So I am creating the choice screen and I have the two choices up.
Example :


menu:
"Eggs":
jump Eggs

"Cereal":
jump Cereal

label Eggs:
scene bg mckit
M "I feel like eggs."



label Cereal:
scene bg mckit

M "How about some cereal?"


Every time I play it, it jumps from 'I feel like eggs' to 'How about some cereal? I've searched through the instructions to try and fix this. I found out that typing return takes you back to the menu but I need the choices to lead to the next part of the story. How do I do this?

Like I said, I'm really sorry if this has already been asked. I can't find the answer. I appreciate the help!

Re: I need help with Branching script

Posted: Sat Jan 30, 2016 11:00 pm
by Rosstin

Code: Select all


menu:
  "Eggs":
    jump Eggs
  "Cereal":
    jump Cereal

label Eggs:
  scene bg mckit
  M "I feel like eggs."
  jump scene2

label Cereal:
  scene bg mckit
  M "How about some cereal?"
  jump scene2

label scene2:
  M "Feels good to have eaten all that."
  jump scene3



Re: I need help with Branching script

Posted: Sat Jan 30, 2016 11:19 pm
by TalrixTrinity
Yay!

Re: I need help with Branching script

Posted: Sat Jan 30, 2016 11:19 pm
by TalrixTrinity
Rosstin wrote:

Code: Select all


menu:
  "Eggs":
    jump Eggs
  "Cereal":
    jump Cereal

label Eggs:
  scene bg mckit
  M "I feel like eggs."
  jump scene2

label Cereal:
  scene bg mckit
  M "How about some cereal?"
  jump scene2

label scene2:
  M "Feels good to have eaten all that."
  jump scene3



I love you! Thank you so much!