Howdy, Stranger!

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

printing the name of the passage

I am using Twine 2 with Harlowe. I saw this function passage() in wiki which is supposed to print the name of the passage. But it does not work for me. I also tried (passsage:), and (print:(passage:)), which just gets into a loop

Comments

  • Most of the information in the Twine wiki is about the Twine 1 default story formats, you should be reading Harlowe's documentation and overview for information about Harlowe.

    The (passage:) macro returns a datamap which contains the passage's name, it's tags, and it's source.
    As explained in the overview, to output the current passage's name you do the following:
    (print: (passage:)'s name)
    
Sign In or Register to comment.