so I have two gains one of them is “gain novas_favor” and the other one is “gain lose_novasfavor” and when I turn on my “novas_favor” the out come for the “gain novas_favor” starts working for both choices but when I turn on “lose_novasfavor” the (if/else) work properly and work with the corresponding gain and outcome so my “novas_favor consequence works with my novas_favor” and same goes for my “lose_novasfavor” can someone tell me why that happens or what I can do to fix it ? I can send script if helps !
Can you send me the script?
This code looks correct! Can you send me the if/elif/else part?
Ok here instead of ‘elif’ use ‘else’
if (novas_favour) {
#Your script here
} else {
#Your script here
}
What flag would I turn on? The nova_favor or lose_novafavor?
You can use any for ‘if’ and leave ‘else’ as it is. Don’t add a bracket in front of else.
When you say don’t put a bracket what do you mean?
I will give you an example.
if (help_mia) {
MIA
Thanks for helping me that day. I will help you now!
} else {
MIA
You never helped me so why should I help you?
}
You don’t have to add anything after 'else’s because it automatically recognise the other flag.
Okay But when previewing the flags on my phone which ones do I switch on?
It will work upon the choices you choose. If you chose the novas_favour branch then it will show you that branch but if you chose another branch then it will show you another branch.
For example:
If I selected the choice to help a character then it will take me to the branch where it will show the after results of me helping that character.
If I selected the choice to not help a character then it will take me to the branch where the results will be different.
okay bc when I preview it on the app when I turn on the flags to see if the choices are working and when I turn on the nova_favor branch it shows me the nova_favor branch despite picking a different choice that doesn’t correspond with the correct action
Oh!! Hope it works now!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.