Help with choice and if and else

HI can anyone help me? I’ve had a choice scene to help or not but no matter what i try it goes to the else whitch is to not help even if you click help choice

BULLY
Shut the F*ck up

choice (HELP OR NOT)
“Help Josh LONGER SCENE.”{
@WILLOW is idle_armscrossed_angry_loop

@speechbubble is 101 187 to 89% with tail_top_left
WILLOW
Josh…
@LADS TRUST POINTS +3
@LADS LOVE POINTS +3
@speechbubble is 159 198 to 89%
NARRATOR (WILLOW)
I called Josh for the second time, This time he looked at me. His eyes telling me to run, But I wouldn’t. So despite his silent warning. I strode forward.

@WILLOW walks to spot 0.647 47 218 in zone 2 in 2 AND WILLOW is walk_angry_loop
@WILLOW moves to layer 0

@BULLY faces left
@MASON walks to spot 0.746 133 175 in zone 1 in 1 AND WILLOW walks to spot 0.647 208 221 in zone 1 in 2 AND NORTH walks to spot 0.719 119 144 in zone 1 in 2 AND JOSH walks to spot 0.629 257 250 in zone 1 in 2
@JOSH moves to layer -1
@NORTH moves to layer 3
@WILLOW moves to layer 0
@MASON moves to layer 1
}
“Run for help”{
@speechbubble is 116 150 to 89% with tail_top_left
WILLOW
I’m going to get help
@LADS TRUST POINTS -1
@LADS LOVE POINTS -1
@transition fade out black 2
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&MR REED spot 1.250 82 116 in zone 1 AND MR REED faces right
&MR REED moves to layer 0
&MR REED is idle_sit_anklescrossed_neutral_loop

@WILLOW is idle_sad_loop

    WILLOW
(Please be ok Josh.)

}

if (“Help Josh LONGER SCENE.”){
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&MR REED spot 1.250 82 116 in zone 1 AND MR REED faces right
}else{
@transition fade out black 2
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&WILLOW spot 1.070 132 113 in zone 1 AND WILLOW faces right
&WILLOW moves to layer 11

You can do it both ways, using:
choice (choice_name)

“Option Title” {
}

if (choice_name is “Option Title 1”) {

} elif (choice_name is “Option Title 2”) {

} else {

}

or gains/flags
choice

“Option Title” {

gain flag_name
}

if (flag_name1) {

} elif (flag_name2) {

} else {

}

I prefer second option, so this is how it would be:

BULLY
Shut the F*ck up

choice
“Help Josh LONGER SCENE.”{
gain help_josh
@WILLOW is idle_armscrossed_angry_loop

@speechbubble is 101 187 to 89% with tail_top_left
WILLOW
Josh…
@LADS TRUST POINTS +3
@LADS LOVE POINTS +3
@speechbubble is 159 198 to 89%
NARRATOR (WILLOW)
I called Josh for the second time, This time he looked at me. His eyes telling me to run, But I wouldn’t. So despite his silent warning. I strode forward.

@WILLOW walks to spot 0.647 47 218 in zone 2 in 2 AND WILLOW is walk_angry_loop
@WILLOW moves to layer 0

@BULLY faces left
@MASON walks to spot 0.746 133 175 in zone 1 in 1 AND WILLOW walks to spot 0.647 208 221 in zone 1 in 2 AND NORTH walks to spot 0.719 119 144 in zone 1 in 2 AND JOSH walks to spot 0.629 257 250 in zone 1 in 2
@JOSH moves to layer -1
@NORTH moves to layer 3
@WILLOW moves to layer 0
@MASON moves to layer 1
}
“Run for help”{
@speechbubble is 116 150 to 89% with tail_top_left
WILLOW
I’m going to get help
@LADS TRUST POINTS -1
@LADS LOVE POINTS -1
@transition fade out black 2
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&MR REED spot 1.250 82 116 in zone 1 AND MR REED faces right
&MR REED moves to layer 0
&MR REED is idle_sit_anklescrossed_neutral_loop

@WILLOW is idle_sad_loop

WILLOW

(Please be ok Josh.)

}

if (help_josh){
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&MR REED spot 1.250 82 116 in zone 1 AND MR REED faces right
}else{
@transition fade out black 2
INT. SCHOOL OFFICE OL - DAY with INT. SCHOOL CLASSROOM TABLE - DAY
@transition fade in black 2
@overlay INT. SCHOOL CLASSROOM TABLE - DAY shifts to -211 -11 in zone 1
@overlay INT. SCHOOL CLASSROOM TABLE - DAY scales to 1.000 1.000
@overlay INT. SCHOOL CLASSROOM TABLE - DAY moves to layer 9
&WILLOW spot 1.070 132 113 in zone 1 AND WILLOW faces right
&WILLOW moves to layer 11
}

Dara has easy guide about choices and gains/else if using, so check it out:

1 Like

It worked thank you so much :grinning:

1 Like

Hi! Whenever someone solves a problem that you have, you should click on that solution button at the bottom of the person’s reply so others don’t click just to find out it has been solved :heart:

3 Likes

Hi I can’t see any buttons has it got to be done on a computer? Please


As I am new to all this :grimacing::heart:

It shows on mine.

Maybe because I’m using the DiscourseHub app which lets me have the forums as if it were an app.

1 Like