I need help with a scene please, it's frustrating me!


#1

Hi, I just got this today and started making a CYOA game, and I’ve gotten the hang of most of the basics, I guess, but I’m stuck now at a part that’s frustrating me because I just cannot make it work!

It keeps telling me this, no matter what I do! “yfn2-3 line 8: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block.”

Out in the hall, you ponder where to go next.

*label hallway

*choice
  #Enter Commander Sorbel's quarters
    You enter the commander's quarters, and find them relaxing. "Would you like to join me?"
    #"No thanks."
    *goto hallway
  #Enter Almaran's quarters
    You go into Almaran's quarters and find him in his armor, checking his blades. He looks up at you and smiles. "What?"
    #"Nothing."
    *goto hallway
#Go to the hangar.
  *goto hangar_choice

*page_break

*label hangar_choice
*choice
  #Get in a ship and fly to Earth.
    *goto_scene yfn3-1

Please can someone help me figure out what’s wrong, of it’s just broken? I don’t get why it’s telling me to put a goto or a finish command when I clearly have one! And why won’t THOSE work, and jump back up to the hallway like it’s supposed to? That’s how the tutorial said they work, right?


#2

3 posts were merged into an existing topic: Choicescript code error help!


#3