Way to make links disappear after clicking them?

pomahz_gts
22 Jul 2023, 17:41

Hi, I'm trying to make it so that the text in my game is split into multiple sections to make it have less of a word wall feel, but the current way I'm trying to do it has the "continue" button stay after you click it, which doesn't look very good. Here's a (very dumbed down) example of the code I'm using currently:

msg ("Paragraph 1<br/>")
msg ("{command:Continue}")
get input {
msg ("Paragraph 2")
}

Is there some way to make it so the "Continue" link disappears afterward? Thanks!


mrangel
22 Jul 2023, 18:29

This is how ShowMenu does it:

msg ("Paragraph 1<br/>")
section = StartNewOutputSection()
msg ("{command:Continue}")
EndOutputSection(section)
get input {
  HideOutputSection(section)
  msg ("Paragraph 2")
}

pomahz_gts
22 Jul 2023, 19:10

That worked fine, thank you so much!