choice
“Male” {
gain MALE
} “Female” {
gain FEMALE
}
if (MALE) {…}
elif (FEMALE) {…}
For some reason when you choose female, halfway through it switches to the male scripting
If anyone could tell me how to fix this I’ll be so grateful, it’s just so frustrating!!!
HazelJ
August 10, 2020, 12:11am
2
U need to manually select or deselect the gain in the story modifier’s flags
1 Like
OH! So would it just work normally for a reader?
HazelJ
August 10, 2020, 12:15am
4
I forget to ask. Are u using web previewer or app previewer?
Kennn
August 10, 2020, 12:17am
6
Yeah, just like @HazelJ said, you have to add a gain flag with n the choice- so you would add the choice, then a confirmation choice then you would put the gain flag in.
So you would have
label gender
choice “Male” {
Narrator
Are you sure you wan to play as a male??
choice {
“yes”
gain MALE
} “No” {
goto label gender
}
} “Female”{
}
1 Like
Kennn
August 10, 2020, 12:18am
7
And same thing for female *
1 Like
HazelJ
August 10, 2020, 12:19am
8
For web previewer, it can’t remember choices (gains) when u go to the next chapter. But for app previewer, it will remember.
As u code both branches, it will mix up the flags so u have to manually select or deselect ur flags while u preview
For readers, it should work normally as they are using app and they don’t do preview.
1 Like
Thanks :))) You guys just made me so happy!!!
1 Like
Kennn
August 10, 2020, 12:21am
11
Ha lol!
if you go to @dara.amarie website- she has the code already there if you want it
1 Like
HazelJ
August 10, 2020, 12:21am
12
Happy to help. Good luck with your story
1 Like
system
Closed
September 9, 2020, 10:22am
13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.