Advanced script help

Basically similar to that featured story where fire is a kind of currency, mine is trophies…

They earn trophies based on choices and can use it for extra special scenes…

First one:

    MARCUS (talk_sit_reassure)
Aviator, c'mon wake up.

@MAIN is yawn_bored

    MAIN (talk_sit_ankles_crossed)
Yes, Grandpa?

    MARCUS (talk_sit_sheepish)
I have an idea,

    MAIN (talk_sit_ankles_crossed)
Spill the tea, prehistoric sis.

@MARCUS is talk_repulsed AND MAIN is laugh_crack_up

readerMessage In this story you spend :trophy:’s on exclusive choices within the story.

readerMessage You can earn :trophy: by how you play in the competition.

@MARCUS is eyeroll AND MAIN is talk_sit_neutral_arms_crossed

    MARCUS (talk_think)
We could get an advantage over the competition if we intimidate them,

    MARCUS (talk_sit_reassure)
What better way to intimidate them by dressing up in matching outfits?

@MAIN is admire

#HERE IS WHERE I NEED TO DO A TROPHY CHOICE BUT IM CONFUSED BY IT

Tags:
@Dara.Amarie @JemU776 @Apes

Anyone have any ideas

Edit: oof I need to go to bed, I’ll check for replies in school tomorrow

You can add them to a person

So…

@MAIN = 0

#add to the value during the script#

choice
“Have matching outfits” {
@MAIN -1
@MAIN changes into —
@MARCUS changes into —
} “Don’t bother with the outfits” {
}

Something along those lines

1 Like

I just woke up and decided to check, how do I stop them from accessing the outfit if they don’t have enough trophies?

You could do an if statement.

#you will have to put in this#

choice
“Do something to get a trophy” {
gain trophy
} “Don’t get a trophy” {
}

#then add in this#

if (trophy) {
#open the choice#
} else {
MARCUS
Not enough trophies
)

So if MAIN = 10 would work?

I haven’t tried it before so I don’t know. But I think it might. :confused:

Check out:

You can create a character called TROPHY and assign points to them. Test on the app as you gain/lose points and keep track of everything in a notebook.

See your points/reset them/set them manually to test other outcomes: HOW TO: Reset Story Progress + Bonus Stuff :blob_sun:

You can use the if/elif/else coding to list the points the characters got. You can also show bonus scenes.

Other threads to check out:

  1. HOW TO: Labels and Gotos 🖤
  2. HOW TO: Color Code and Lock A Choice
  • You can check out Dara’s website on helpful resources such as remembering past choices.

If you still need more help, feel free to reach out to me here or PM me :blob_hearts:

@Jess2112 @JemU776

I am getting errors, it keeps saying the gains don’t exist.

Also I changed trophies to win points because the trophy emoji keeps removing itself from my script

script:

INT. AIRPLANE SEATS - DAY

&MAIN spot 1.775 306 -275 AND MAIN faces left AND MAIN moves to layer -3 AND MAIN is sleep_sitting AND MARCUS spot 1.874 69 -187 AND MARCUS faces right AND MARCUS moves to layer -1 AND MARCUS is sit

@transition fade in black

    NARRATOR
I rested for most of the flight, I wanted to have the brain power to win this thing.
But my grandpa, was always a step ahead.

    MARCUS (talk_sit_reassure)
Aviator, c'mon wake up.

@MAIN is yawn_bored

&MAIN spot 1.775 252 -303

    MAIN (talk_sit_ankles_crossed)
Yes, Grandpa?

    MARCUS (talk_sit_sheepish)
I have an idea,

    MAIN (talk_sit_ankles_crossed)
Spill the tea, prehistoric sis.

&MARCUS spot 1.874 73 -310

@MARCUS is talk_repulsed AND MAIN is laugh_crack_up

readerMessage In this story you spend| color:red , bold | Win Points| reset | on exclusive choices within the story.

readerMessage You can earn| color:red , bold , bold | Win Points| reset | by how you play in the competition.

@MARCUS is eyeroll AND MAIN is talk_sit_neutral_arms_crossed

    MARCUS (talk_think)
We could get an advantage over the competition if we intimidate them,

&MARCUS spot 1.874 69 -187

    MARCUS (talk_sit_reassure)
What better way to intimidate them by dressing up in matching outfits?

@MAIN is admire

@MAIN +10

readerMessage You just gained 10 WP. (Win Points)

gain MATCHMAKERCHOICE

    NARRATOR
Unlock these special outfits to intimidate the competition and impress potential love interests!

choice “MatchMakers Moment” {

@transition fade out black

INT. WALKINCLOSET - DAY

&MAIN spot 1.280 108 78 AND MARCUS spot 1.280 199 71 AND MAIN faces left AND MARCUS faces right AND MARCUS is talk_handsonhips AND MAIN is primp AND MAIN moves to layer 2 AND MARCUS moves to layer 1
@zoom on 138 0 to 350% in 0
@MAIN changes into FIRSTTROPHYMATCH
@MARCUS changes into FIRSTTROPHYMATCHMARCUS

@transition fade in black

@zoom on 144 548 to 222% in 4

@transition fade out black in 1

@zoom on 176 338 to 113% in 3

@MAIN is blow_kiss AND MARCUS is talk_flirt

@pause for a beat

if (MAIN = 10) {

    NARRATOR
You can afford this | bold , color:blue |exclusive| reset | outfit

goto EXCLUSIVEMATCH

} else {

    NARRATOR
You don't have enough | bold , color:red | Win Points | reset | to purchase these outfits!

goto MATCHMAKERCHOICE

}
} “Wear something old” {

}

gain EXCLUSIVEMATCH

    NARRATOR    
Do you wish to spend | bold , color:red | 10 Win Points | reset | on this choice?

choice “Yes, I want this!” {

@MAIN -10

gain FIRSTWPCHOICE

@transition fade out black

goto CHOICEEND

} “No, take me back!” {

goto MATCHMAKERCHOICE

}

The gains have to be in the choice :grin:

But I need them where they are, because the gain brings them back to the start of the choice when they say no and take them to the end of the script if they pick yes?

@Dara.Amarie

You’re confusing gains for labels.

Wait, gains AREN’T labels? O-o

No, gains and labels are 2 separate things. gains (also known as flags) are for remembering choices. Labels are paired with “goto’s” to go to a certain spot in your script.

1 Like

right, mkay lemme see if that fixes it. :slight_smile: Thankyou dara!

Yep, it fixed my errors! Thank you so much again dara and oof I am dumb.

1 Like

Sorry again, I got another error…

ERROR:

Unexpected SHOW_TOAST: You’ve just earned 3 Win points!

@MARCUS is talk_repulsed AND MAIN is laugh_crack_up

readerMessage In this story you spend| color:red , bold | Win Points| reset | on exclusive choices within the story.

readerMessage You can earn| color:red , bold , bold | Win Points| reset | by how you play in the competition.

@MARCUS is eyeroll AND MAIN is talk_sit_neutral_arms_crossed

    MARCUS (talk_think)
We could get an advantage over the competition if we intimidate them,

&MARCUS spot 1.874 69 -187

    MARCUS (talk_sit_reassure)
What better way to intimidate them by dressing up in matching outfits?

@MAIN is admire

@MAIN +10

readerMessage You just gained | bold , color:red |10 WP. (Win Points)

label MATCHMAKERCHOICE

    NARRATOR
Unlock these special outfits to intimidate the competition and impress potential love interests!

choice “MatchMakers Moment” {

@transition fade out black

INT. WALKINCLOSET - DAY

&MAIN spot 1.280 108 78 AND MARCUS spot 1.280 199 71 AND MAIN faces left AND MARCUS faces right AND MARCUS is talk_handsonhips AND MAIN is primp AND MAIN moves to layer 2 AND MARCUS moves to layer 1
@zoom on 138 0 to 350% in 0
@MAIN changes into FIRSTTROPHYMATCH
@MARCUS changes into FIRSTTROPHYMATCHMARCUS

@transition fade in black

@zoom on 144 548 to 222% in 4

@transition fade out black in 1

@zoom on 176 338 to 113% in 3

@MAIN is blow_kiss AND MARCUS is talk_flirt

@pause for a beat

if (MAIN = 10) {

    NARRATOR
You can afford this | bold , color:blue |exclusive| reset | outfit

goto EXCLUSIVEMATCH

} else {

    NARRATOR
You don't have enough | bold , color:red | Win Points | reset | to purchase these outfits!

goto MATCHMAKERCHOICE

}
} “Wear grannies hand me downs” {

INT. WALKINCLOSET - DAY

&MAIN spot 1.280 108 78 AND MARCUS spot 1.280 199 71 AND MAIN faces left AND MARCUS faces right AND MARCUS is talk_handsonhips AND MAIN is primp AND MAIN moves to layer 2 AND MARCUS moves to layer 1
@zoom on 138 0 to 350% in 0
@MAIN changes into GRANNIESWARDROBE
@MARCUS changes into OUTDATEDMARCUS

@transition fade in black

@zoom on 144 548 to 222% in 4

@transition fade out black in 1

@zoom on 176 338 to 113% in 3

@MAIN is talk_repulsed AND MARCUS is talk_sheepish

    MAIN (talk_exhausted)
I look like I was born in an era lacking technology,

@MAIN is think AND MARCUS is idle_happy

    MAIN (barf)
I smell like death!

@MARCUS is eyeroll

goto GRANNIESHANDMEDOWNCHOICE

}

label EXCLUSIVEMATCH

    NARRATOR
Do you wish to spend | bold , color:red | 10 Win Points | reset | on this choice?

choice “Yes, I want this!” {

@MAIN -10

gain FIRSTWPCHOICE

@transition fade out black

goto CHOICEEND

} “No, take me back!” {

goto MATCHMAKERCHOICE

}

label GRANNIESHANDMEDOWNCHOICE

    NARRATOR
Are you sure you wish to wear your grandparents hand me downs?

choice “Yes, I want this!” {

MAIN +3

readerMessage You’ve just earned 3 Win points!

gain GRANDMASCLOSET
@transition fade out black

goto CHOICEEND
} “No, take me back!” {

goto MATCHMAKERCHOICE

}

label CHOICEEND

You forgot the @ sign for the bolded part above.

1 Like

Thankyou so much, you’re a literal life savor!!! <3

1 Like