I am puzzled. I am using Jonah, so passages just cascade one after the other down the page. I think people using some of the other story formats in which only one passage shows on the screen at a time will not see this problem so obviously.
I have a passage like this:
==Passage Title==
Passage text.
<<If $A>>[[Choice A.]]<<endif>>
<<If $B>>[[Choice B.]]<<endif>>
<<If $C>>[[Choice C.]]<<endif>>
<<If $D>>[[Choice D.]]<<endif>>
<<If $E>>[[Choice E.]]<<endif>>
<<If $F>>[[Choice F.]]<<endif>>
Depending on the values of the variables, the player will see from one to six links after the passage text.
The problem arises when the passage displays less than all six links. For each link that is not displayed (because that <<if>> statement's variable is not true) there is an extraneous blank line.
I can't simply wrap the whole thing in <<nobr>> or put all the <<if>> statements on one line because then my list of choices would no longer be a list, it would be a paragraph.
Is there any way around this? Maybe a different story format that still cascades text down the page? CSS? HTML?
Comments
Oops! That's right. I knew something didn't look right. Should'a tested.
BRAIN ESPLODE