I need help in coding!


#1

I’m using flags that enables the reader to choose something that affects the story (remembering choices) but it doesn’t work and displays the first scene only and doesn’t display what’s after (elif). It was working but suddenly stopped!


#3

Maybe it’s because you don’t have the flag, have you checked out if the flag is active?


#4

how can I check out if it’s active or not?


#5

There are two ways of doing this, this one works for more people than the other one.

choice “choicname”{

Insert scene

gain choicename
}
“choicename2”{

insert scene here

gain choicename2
}
“choicename3”{

insert scene here

gain choicename3
}

if (choicename) {

} elif (choicename2) {

}
else {

}

The other method is the one I use though it’s unlikely to work for anyone :T


#6

Providing your code would help


#7

Moved to Directing Helps and Tips as this sounds like it is a coding/scripting issue and not a bug/glitch. Make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:


#8

What @RudeInception said, it would be helpful if you showed your script so we can try to spot the error :slight_smile:


#9

Thanks everybody! It finally worked!:heart: