Options not appearing during test


#1

I’m working on learning how to use ChoiceScript and when I go to test it some options aren’t appearing when I get to the question. Here’s the code, please just ignore the loose story. Can someone tell me what I’m doing wrong?

Who do you choose? 
*choice
 #The Goth girl. One flash of your fangs and she'd be begging you to drink.
      You slink over to her. "Buy you a drink?" She looks you over and smiles. "Maybe, what were 
you having?" You smile and let a fang slip free.
Five minutes later you're dumping her body into the river and you fade into the shadows between
street lamps.
*goto End
 
 #The athlete. He certainly appeals to your visual aesthetic.  
      You dance up to him and he's so freaking high that you can smell the mix of alcohol and
ecstasy coming off him. It's almost too easy.
You only get a few sips from him before the drugs hit your system. You leave the stumbling jock
in the shadows of the club as you ride the high through the night.
*goto End

 #The DJ. You enjoy good music while you feed. 
       You dance right up to the stage and the DJ notices you and smiles. You wink, casting a little
glamour on them. You meet them backstage after their set.
It's well after midnight as the two of you stumble into your apartment. After a short feed you two
both spend hours exploring each other's bodies.
*goto End

#2

is it indented like this in the original?


#3

yes. I’ve tried changing the indentations but that hasn’t worked.


#4

Hello StrangeReader.
To me it looks like your indenting is incorrect
OfficerRattlesnake has it :smile:

StrangeReader what are you using to write your story? if you use notepad ++ or the IDE then indenting is easy to keep track off.


#5
*choice
  #The Goth girl. One flash of your fangs and she'd be begging you to drink.
    You slink over to her. "Buy you a drink?" She looks you over and smiles. "Maybe, what were you having?" You smile and let a fang slip free. Five minutes later you're dumping her body into the river and you fade into the shadows between street lamps.
   
    *goto End
  #The athlete. He certainly appeals to your visual aesthetic.  
    You dance up to him and he's so freaking high that you can smell the mix of alcohol and ecstasy coming off him. It's almost too easy. You only get a few sips from him before the drugs hit your system. You leave the stumbling jock in the shadows of the club as you ride the high through the night.
    
    *goto End
  #The DJ. You enjoy good music while you feed. 
    You dance right up to the stage and the DJ notices you and smiles. You wink, casting a little glamour on them. You meet them backstage after their set. It's well after midnight as the two of you stumble into your apartment. After a short feed you two both spend hours exploring each other's bodies.
    
    *goto End

try something like this. you shouldn’t make new lines to continue the paragraph, and you shouldn’t have any text in the same column as the #choices.

also, since all of them lead to the same place, why not use a *fake_choice?


#6

that did it, thank you.


#7

Hello, I’m having similar problems with my code.

Crossing his arms, Savio regarded the suspended mutant with a pensive frown."$!{heshe} must be worth a small fortune nowadays." He snatched a clipboard that had a paper attached to it."It also helps that ${heshe} is an..." *goto race

*label race *choice #African American. *set race "African American" #Biracial. *set race "Biracial" #Caucasian *set race "Caucasian" #White American. *set race "White American" #Asian *set race "Asian" #Pacific Islander . *set race "Pacific Islander" #Native American . *set race "Native American" #Hispanic. *set race "Hispanic" #Latino. *set race "Latino" *Middle Eastern. *set race "Middle Eastern" #racially ambiguous. *set race "Racially Ambiguous"

For some reason, everything after the [quote]Crossing his arms, Savio regarded the suspended mutant with a pensive frown."$!{heshe} must be worth a small fortune nowadays."
[/quote]

doesn’t appear. This is all indented correctly by the way, I just don’t know how to make the little box thing that makes it show up like that.


#8

You need to use *finish or *goto commands

*label race
*choice    
 #African American.        
  *set race "African American"  
  *finish  
 #Biracial.        
  *set race "Biracial"
  *goto some_label    
 

#9

When you use *choice makes sure you have *goto at the bottom of each option make sure it goes to the proper label. Or change *choice into *fake_choice thEn you don’t need the goto statements


#10

I tried using fake_choices already, but it doesn’t seem to be working for some reason. I’ll try doing putting the *goto commands after every choice.

This is my current code(with goto labels added), but again, everything after the first dialogue sentence doesn’t show up.

*label flavor
Crossing his arms, Savio regarded the suspended mutant with a pensive frown."!{heshe} must be worth a small fortune nowadays."He snatched a clipboard that had a paper attached to it."It also helps that {heshe} is an…"
*goto race`

*label race

*choice
# African American.
*set race “African American”

   *goto placeholder
# Biracial.
    *set race "Biracial"
    *goto placeholder
# Caucasian
    *set race "Caucasian"
    *goto placeholder
# White American.
    *set race "White American"
    *goto placeholder
# Asian
    *set race "Asian"
    *goto placeholder
# Pacific Islander .
    *set race "Pacific Islander"
    *goto placeholder
# Native American .
    *set race "Native American"
    *goto placeholder
# Hispanic.
    *set race "Hispanic"
    *goto placeholder
# Latino.
    *set race "Latino"
    *goto placeholder
# Middle Eastern.
    *set race "Middle Eastern"
    *goto placeholder
# racially ambiguous.
    *set race "Racially Ambiguous"
    *goto placeholder
    *label placeholder

`


#11

Have you tried using https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html
to test your program.


#12

Just ran the code like this and ran perfect

*create race ""

*label race
*choice
 #African American.
    *set race "African American"
    *goto placeholder
 #Biracial.
    *set race "Biracial"
    *goto placeholder
 #Caucasian
    *set race "Caucasian"
    *goto placeholder
 #White American.
    *set race "White American"
    *goto placeholder
 #Asian
    *set race "Asian"
    *goto placeholder
 #Pacific Islander .
    *set race "Pacific Islander"
    *goto placeholder
 #Native American .
    *set race "Native American"
    *goto placeholder
 #Hispanic.
    *set race "Hispanic"
    *goto placeholder
 #Latino.
    *set race "Latino"
    *goto placeholder
 #Middle Eastern.
    *set race "Middle Eastern"
    *goto placeholder

*label placeholder
*finish

#13

Thanks, it worked like a charm. :grin: