Hi guys, I was just wondering if anyone can correct my tappable overlay script?
tappable
“OVERLAY_BEGIN BUTTON”{
} NARRATOR
Are you sure you are ready to begin your adventure?
choice
“Yes.” {
NARRATOR
We shall make haste!
}“No.”{
NARRATOR
Oh dear, do hurry up!
}
1 Like
notguiltea:
tappable
“OVERLAY_BEGIN BUTTON”{
NARRATOR
Are you sure you are ready to begin your adventure?
choice
“Yes.” {
NARRATOR
We shall make haste!
}“No.”{
NARRATOR
Oh dear, do hurry up!
}
}
If you’re still stuck share more of your code. A ss would be helpful too.
1 Like
Another thing! For the no option you should take them back to the start of the menu so they can click other buttons.
And the label would go somewhere here:
I’m assuming you have more overlay options underneath the word tappable (tappable written only once as it’s a menu)
1 Like
Potential error cause:
“OVERLAY_BEGIN BUTTON”
If your overlay has a different name, write the exact name of the overlay, nothing else.
If that’s not your error, ignore me
Create the overlay—you can’t create a tappable overlay if the overlay itself isn’t in the scene
1 Like
Keep in mind that the words inside the quotation marks under the tappable choice MUST match the overlay name exactly, no added words (such as overlay). It will not work if it doesn’t name the overlay exactly.
ah okay, I’ve removed overlay but how should i create the overlay?
it’s so difficult ahaha
On line 10 write exactly what I’ve written on my line 29. “@overlay BEGIN BUTTON create and overlay BEGIN BUTTON opacity 1”
(I’ve just realized my example above had a slight error)
Line 14 in your script should also have another line for the “Narrator” line following “}”. It’ll give you an error otherwise.
Yep! I’d see if that works. Also, if you’re wanting people to go back to the tappable choice after selecting no, add in a label on line 11 and redirecting them to it on line 30
1 Like
You may need to spot direct the overlay as well to fit comfortably on the screen
how do labels work? So sorry, it’s all so confusing haha
This post may help with labels more than I can!
Author: Tara Star (TaraStar on the Forums, tarastarofficial on Instagram)
Hi everyone! Me again today I’m going to go through some of the more advanced features of the Script Writer, and hopefully explain them clearly. Before reading on, I advise that you familiarise yourself with the advanced directing guide before hand, and you should at least have a knowledge of basic choices.
Labels and gotos
Before I talk about if/else systems, you need to be familiar with how to use labels and g…
system
Closed
April 23, 2021, 11:11am
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.