Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Clicking (alert:) to go to the next passage

Hey everyone! I'm wondering if it's possible to switch passages with the (alert:) macro.

I'm making a game where sometimes you ask questions. I want the answers to appear in the pop up, like so:

(link:"How are you?")[(alert: "Good, thanks")]

Is there any way clicking "ok" on the alert will change the passage?

Thanks!

Comments

  • Use the (goto:) macro within the [hook], after the (alert:).
    (link:"How are you?")[(alert: "Good, thanks")(goto:"NewPassage")]
    

    Make sure the "NewPassage" is the name of the passage you want the player to go to once they click the "ok" on the alert.
  • Perfect! Thank you. I was totally overthinking it.
Sign In or Register to comment.