Hello! I really need help and fast please!
So basically, I’m trying to do a ‘‘tappable weapon choice’’
I know how to do basic tappable choices but I’m trying to code it with if, Elif and else to remember your tappable choice! Idk if you know what I mean
This is my script:
Script
INT. ARMMENU @speechbubble reset @zoom reset
&overlay ARCHERY create from ARCHERY AND overlay ARCHERY shifts to 24 360
&overlay BAT create from BAT AND overlay BAT shifts to 44 6
&overlay BIM create from BIM AND overlay BIM shifts to 37 179
NARRATOR
Click on the weapon you want!
choice
tappable
if “ARCHERY” {
NARRATOR
You will now have a Bow as weapon!
} elif “BIM” {
NARRATOR
You will now have a kn-fe as weapon!
} else {
NARRATOR
You will now have a Baseball Bat as weapon!
You’re combining a tappable choice with the if/elif/else. The if/elif/else is a separate code used later on in your story when you need the choice remembered. It doesn’t get combined with the actual choice. You need to add “gains” to your tappable choice for the choice to get remembered.
INT. ARMMENU @speechbubble reset @zoom reset
&overlay ARCHERY create from ARCHERY AND overlay ARCHERY shifts to 24 360
&overlay BAT create from BAT AND overlay BAT shifts to 44 6
&overlay BIM create from BIM AND overlay BIM shifts to 37 179
NARRATOR
Click on the weapon you want!
Tappable
“ARCHERY” {
gain archery
NARRATOR
You will now have a Bow as weapon!
}
“BIM” {
gain bim
NARRATOR
You will now have a kn-fe as weapon!
}
“BAT”{
gain bat
NARRATOR
You will now have a Baseball Bat as weapon!
}
The command for adding an overlay to the scene is just overlay OLNAME create. The “create from OL” is only used if you want to create a duplicate of an overlay.
Check that your overlays aren’t overlapping each other. Remember, the entire overlay/png image is tappable, which includes the blank empty space around the overlay.