How to correctly use reuse command?

So, having difficulty understanding how to put the last command to proceed “outside”

*hide_reuse
*label food
*label sleep
What do you want to do next?
*choice
#Eat some food.
*goto food
#Sleep.
*goto sleep
#Go outside.
*goto outside/next scene

This seems like a mess… :S

I don’t quite understand what you’re asking, but if this is what your indentation looks like, then your code won’t work. Also, if the player chooses #food, then the game will display the text under the label for sleep as well. Your code should look something like this:

*label choice
TEXT
*hide_reuse
  *choice
    #option one
      TEXT
      *goto choice
    #option two
      TEXT
      *goto choice
    #proceed to the next part
      *goto next

*label next

So on and so forth

Something like this.

*temp options_picked 0
*label loop_options

*fake_choice
     *hide_reuse #Option 1
          *set options_picked + 1
     *hide_reuse #Option 2
          *set options_picked + 1
     *hide_reuse #Option 3
          *set options_picked + 1

*if (options_picked != 3)
     *goto loop_options

Or

*hide_reuse
*temp options_picked 0
*label loop_options

*fake_choice
     #Option 1
          *set options_picked + 1
     #Option 2
          *set options_picked + 1
     #Option 3
          *set options_picked + 1

*if (options_picked != 3)
     *goto loop_options

There are a few different ways to use it.

2 Likes

That’s even more confusing…

So if a character wanted to ask questions, for example, how would the commands for that list go?

I’m going to give you an example of code from my WIP as well as a simplified version:

Simplified code
"We'll tell you everything we can," Hasan says.
*hide_reuse
*label ch1_debriefing
*choice
  #"Where are you taking me?"
    TEXT
    *goto ch1_debriefing
  #"Why are you taking me there?"
    TEXT
    *goto ch1_debriefing
  #"Why am I important?"
    TEXT
    *goto ch1_debriefing
  #"Why is there a war?"
    TEXT
    *goto ch1_debriefing
  #"How long will it take to get there?"
    TEXT
    *goto ch1_debriefing
  #"Why do you look human?"
    TEXT
    *goto ch1_debriefing
  #"What other planets?"
    TEXT
    *goto ch1_debriefing
  #"How are humans and Zemians different?"
    TEXT
    *goto ch1_debriefing
  #"What is Zemia like?"
    TEXT
    *goto ch1_debriefing
  #"Who are you?"
    TEXT
    *goto ch1_debriefing
  #"How did you find me?"
    TEXT
    *goto ch1_debriefing
  #"What's going to happen to my family?"
    TEXT 
  #"I don't want to ask anything else."
    *goto ch1_translator

*label ch1_translator
Actual Code
"We'll tell you everything we can," Hasan says.
*hide_reuse
*label ch1_debriefing
*choice
  #"Where are you taking me?"
    *set q1 true
    "We're flying to Zemia.
    It's a planet millions of light years away from Earth.
    There's a country there called Seyvia.
    It's part of an Empire," Hasan says.

    "It [i]is[/i] the Empire," Lia corrects.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q1) #"Why are you taking me there?"
    *set q2 true
    "You are a very important person to the Empire," Lia answers
    There is a war happening right now, and they need you."
    
    "An elementary school teacher??
    What am I supposed to do about it??" you sputter.

    "We're... not exactly sure," Hasan answers, frowning.
    "But nobody wants to hurt you!" he adds quickly, seeing your face lose all its color.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q2) #"Why am I important?"
    Hasan looks to Lia, and she shakes her head
    He turns back to you, "well... you're important to important people."

    "We're not allowed to tell you anything else," Lia says
    *set curiosity +1
    *goto ch1_debriefing
  *if (q2) #"Why is there a war?"
    "There's a country in the East," Lia answers.
    "It's called Vastonia, and it's the hegemonic power of the region.
    They have been supporting separatists and insurgents in the Empire."

    "More recently, an... important figure was killed in a terrorist attack.
    Vastonia denied being involved, but most people don't believe it," Hasan adds.

    "A few weeks later the Seyvian army fired on a Vastonian shipping vessel in the Southern Ocean.
    There hasn't been any fighting on land yet, but the peace won't last unless something changes," Lia says.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q2) #"How long will it take to get there?"
    "Not very long," Lia says.

    "Only about two Earth weeks," Hasan explains, looking at his wristband.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q1) #"Why do you look human?"
    *set q4 true
    "Zemia is a lot like Earth, with oxygen and water, and it has similar biomes.
    You'll recognize many of the plants and animals.
    They're not exactly the same, but they're similar.
    Not many people know about Earth, but there are other similar planets too.
    Scientists think we all share a common ancestor," Hasan explains.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q4) #"What other planets?"
    "There are a lot," Hasan answers, but they're all far away.
    Though not as far away as Earth.
    Some people travel between planets, but it's really expensive and small scale.
    Most of the interplanetary communication is scholarly, researchers interacting with each other."

    "Sometimes the ultra-wealthy take luxury vacations to other planets," Lia says, "but it's way too expensive to travel between planets to form any closer ties."
    *set curiosity +1
    *goto ch1_debriefing
  *if (q4) #"How are humans and Zemians different?"
    "Most of the differences are cellular, I think," Hasan answers.
    "According to the materials I've read, Zemians are supposed to be smarter, but, I mean, we're kind of biased on that point."

    "Zemians definitely live a lot longer than humans," Lia adds.  
    But most of that is due to technology and advanced medicine.
    On the outside we pretty much look the same."
    *set curiosity +1
    *goto ch1_debriefing
  *if (q1) #"What is Zemia like?"
    "It's like Earth."  
    Hasan shrugs.
    "There are lots of different countries and societies.
    There's war and poverty and disease."

    "Most people around the world live in poverty," Lia adds, "but there are pockets of wealth, usually in cities.
    Seyvia is very rich."
    *set curiosity +1
    *goto ch1_debriefing
  #"Who are you?"
    *set q7 true
    "Lia and I are partners," Hasan responds.
    "We work for the Seyvian Empire."

    "We're exfiltrators," Lia clarifies.
    "We were ordered to come get you."
    *set curiosity +1
    *goto ch1_debriefing
  *if (q7) #"How did you find me?"
    "The... people who sent you to Earth as a baby kept detailed records about their... mission.
    We had geographical coordinates, the name of your town, and your family name.
    Yusra got us access to local databases and translated the information for us.
    It wasn't hard once we got here," Hasan admits.
    *set curiosity +1
    *goto ch1_debriefing
  *if (q7) #"What's going to happen to my family?"
    "We're not going to hurt them," Lia answers.
    "We're not going to hurt you either."

    "Nobody who [i]would[/i] hurt them knows where they are or even that they exist," Hasan says.
    *set curiosity +1
    *goto ch1_debriefing
  *if ((q1) or (q7)) #"I don't want to ask anything else."
    *goto ch1_translator


*label ch1_translator
1 Like

Okay, I think I’ve got it.

Thanks for the help!

1 Like

Question resolved!