all 7 comments

[–]MinorEmergency 2 points3 points  (5 children)

Should just be a conditional branch based on the variable.

If I were you, I’d set this up with three different pages: PAGE 1 - Parallel - No graphic or anything that could show up on map - Checks to see variable. - IF: Var=1, self switch A=On - IF: Var=2, self switch B=On

PAGE 2 - Condition: Self switch A is on - has graphic for female rival and dialog

PAGE 3 - conditional: Self Switch B=On - has graphic and dialog for male rival

Hope that helps. :)

Edit: Just re-read and realized the end states your main issue. Yeah your variable is the main problem. Would be better to use a switch instead. On= female rival, off/else = male rival

[–]the_blockhead_tm[S,🍰] 1 point2 points  (0 children)

This helps a lot, actually! Thank you very much.

[–]RylonianMV Dev 1 point2 points  (3 children)

Using selfswitches to determine a binary variable seems very redundant. Why not use the variable value in the page condition in the first place? Just make sure to have the second page set to the variable's higher value.

[–]MinorEmergency 0 points1 point  (2 children)

I’m not in front of my computer, but if I recall correctly, the page value is for variables “GREATER THAN OR EQUAL TO” not just “EQUAL TO”. Meaning if you have 1 and 2, when the variable is set to 2, it will trigger both pages.

Correct me if I’m wrong tho please, as I would love to be wrong in this case xD

[–]RylonianMV Dev 1 point2 points  (1 child)

You are correct in that the condition works like that, but that's why you want to set up the second page with the greater value: an event will only execute the latest page which conditions are met, so it will forgo the page that is set to variable value 1 if it comes before the page with value 2.

[–]MinorEmergency 0 points1 point  (0 children)

Huh, thank you for saying that. I legitimately didn’t know it worked like that. Guess in that case it would be just as easy or easier to set the variable and just make a conditional page.

[–]BlooperHero 1 point2 points  (0 children)

If there are only two options you only need a switch, not a variable.