Forum rules - please read before posting.

Adding Logic to a Document Page

Hi, I'd like to check whether the player has read a particular page of a document.
Is that possible? I'm thinking about how to do it, but I don't see a clear way.

Thanks!

Comments

  • It's possible, but only through custom script.

    If your Menu is named Document, and the page text is in an Element named PageText:

    if (KickStarter.runtimeDocuments.ActiveDocument)
    {
        MenuJournal journal = PlayerMenus.GetMenuWithName ("Document", "PageText") as MenuJournal;
        int currentPageIndex = journal.showPage - 1;
    }
    
  • Thanks! I'll investigate it.

Sign In or Register to comment.

Howdy, Stranger!

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

Welcome to the official forum for Adventure Creator.