How to make points choose a character?

if it starts doing that you might have to create labels and a aditional if elif coding inside the original one for each character.

label character1
if (CHARACTER1 > CHARACTER2 and CHARACTER1 > CHARACTER3 and CHARACTER1 > CHARACTER4) {

if (CHARACTER1< CHARACTER2) {
goto character2
}
if (CHARACTER1< CHARACTER3) {
goto character3
}
if (CHARACTER1< CHARACTER4) {
goto character4
}

#Scene for Character 1 is here

This will make it so if any of the other characters have more points than character 1 it’ll go to their branch, and if nobody does it’ll stay in character 1’s branch.

} elif (CHARACTER2 > CHARACTER1 and CHARACTER2 > CHARACTER3 and CHARACTER2 > CHARACTER4) {
label character 2

#Character 2 has the most points, so we check if any other character has more points

if (CHARACTER2< CHARACTER1) {
goto character1
}
if (CHARACTER2< CHARACTER3) {
goto character3
}
if (CHARACTER2< CHARACTER4) {
goto character4
}
If no one has more points the script will carry on w the
#Scene for character 2 is here
}
elif (CHARACTER3 > CHARACTER1 and CHARACTER3 > CHARACTER2 and CHARACTER3 > CHARACTER4) {
label character3

if (CHARACTER3< CHARACTER2) {
goto character2
}
if (CHARACTER3< CHARACTER4) {
goto character4
}
if (CHARACTER3< CHARACTER4) {
goto character4
}

#Scene for Character 3 is here

}
And continue for as many characters you have

sorry if this is confusing i tried to make it atleast confusing as possible but with episode coding its impossible :sob:

1 Like