Gain help please

Hi can someone help me with gains? I want to know how to use them and code it properly.

What do you mean by gains? :thinking:

Like remembering a past choice. some people at the end of their script will write gain_loveit or something like it to remember the choice

For example in outfits
All you need to do is

choice (OUTFIT_1)

“Outfit 1” {

@CHARACTER changes into Outfit1

#insert script here

And To remember which outfit was chosen for later episodes:

if (OUTFIT_1 is “Option 1”) {

@CHARACTER changes into Outfit1

} elif (OUTFIT_1 is “Option 2”) {

@CHARACTER changes into Outfit2

} else {

@CHARACTER changes into Outfit3


Thank you but what if i have a teacher ask a question and I want the reader and story to remember what they picked do I do it the same way?

I’m not so sure
I think so, but I don’t want to give you a wrong advice :woman_shrugging:
So you should probably wait for someone who knows something about it :joy:

I’ll try it thank you!!!

1 Like

HOW TO: Remember Past Choices (if/elif/else)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.