Hi, if this is on a wrong category oh well… I apologize.
In this thread I have a question. So I’ve been reading threads about choices, and i noticed that some of the replies have this “#” on their “script template” Idk what’s it called
Also credits to @TaraStar for the information below (you should check her out for more! )
example
Labels and gotos
Before I talk about if/else systems, you need to be familiar with how to use labels and gotos. It’s a lot easier than it sounds. Essentially, a label is when you basically “name” part of the script and mark it out. Then, later on you can use a goto and this will allow you to return to the label you set up earlier, because the Script Writer then recognises that you “named” this part of the script earlier. It’s easier for me to show you what I mean. Let’s say we’re doing a choice scene.
choice
“Go to the park!”{}”Go to the swimming pool!”{
}
That looks simple enough. But then, how would you be able to let the reader go to the scene of their choice? If it’s only a short scene, you could add the scene into the choice branch. But then, you can’t have labels and dressing games in a choice. So, you could use labels and gotos:
choice
“Go to the park!”{
goto park_play
}”Go to the swimming pool!”{
goto pool_play
}After using the goto command, you would then underneath the choice have to have this:
label park_play
#your scene and dialogue here, however long you want the scene to begoto end_play
label pool_play
#your scene and dialogue here, however long you want the scene to begoto end_play
So what does “#” mean and what does it use for?
Thanks in advanced!