Hey, guys. I’m working on a game for my friends, and I’m having trouble trying to get *else text to appear. This problem does not show in my other txt files, so I’m curious as to why it’s happening now.
*if statements work just fine, however, the else statement shows nothing. The text in question:
You leave the fry shop, *if (fries = true) snacking on the delicious fries as you walk across the boardwalk. *goto aftervisit *else feeling as if you haven't done anything. *goto aftervisit
If fries = true, the text below it appears. However, the else statement doesn’t, and it just shows the first part of the text before the *if statement.
I’ve tried using *elseif (fries = false) instead of *else, but that doesn’t work either.
And in case this is important, the fries variable is set under *temp in that same scene file.
Can anyone tell me what I’m doing wrong?