Hi, I'm just starting with the Document feature and I'm a bit puzzled. Everything seems quite strightforwards, but somehow my pages textures are not showing in the menu. I just can see the white space for the texture.
I can see the text, but not the image assigned. What am I missing?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
What are the properties of the Graphic element? You'll need to enter in the name of the Journal element it should link to.
I don't follow you.
The graphic element in the Document menu?
https://imgur.com/a/pGpOsVz
What I try to get here is that the player picks up a folder, and inside that folder, there are several documents. When the player selects the folder in the inventory, the Document menu opens up, and we should have the following:
Page0: Just a brief text and image of the folder and its content.
Page1: Detail of one of the papers inside the folder, along with some text.
Page2: Same as above.
Ah, its because the Graphic element is set to display "Document Texture" - which refers to the Texture of the Document itself, rather than individual pages.
Set this instead to "Page Texture", link the Journal element via the field that then shows, and it should then work.
I'm still missing something here because my pages are still not showing the texture image I assigned in the Inventory->Documents.
What is the difference between a journal and a document? Is it because the document has only one page, while the journal can have multiple pages that are added over time?
https://imgur.com/a/5A28XvY
A Journal has its pages entered directly into the Menu, and they can be added to at runtime.
A Document has its pages entered within the Inventory Manager, and these are fixed.
Your Texture menu needs to reference the element that displays the pages. Set the Journal element name to PageText.
It's working now. 😊
But, why do I need to set it up as a Journal, if my page number is fixed? I know there will be 3 pages for that specific item in the inventory. (maybe another object can also be inspected and will have a different document, with different pages).
And how could I see the right name reference is PageText. Where that element is defined?
I just want to better understand how the system works.
PageText is an element further up in your Documents menu screenshot - it's used to display the page text of the currently-open Document.
You don't need to set it up as a Journal, keep it as Documents as you are now. A Document is a special type of Journal, so there's a bit of shared naming convention in the Menu Manager.
Thanks!
Hi Chris,
I have a question about Documents. Let's say I want to open the Document menu and wait for the player to close it, so I can trigger a player dialogue.
Currently, it seems that the only way to do this is to use the "Document:Open" action and enable "Wait until close". This prevents the dialogue from playing while the Document menu is still open. However, if I enable that option, I lose the ability to move the mouse or interact with the menu. (My project is a first-person adventure)
How can I achieve the desired effect? I want to wait for the player to close the menu before playing the dialogue, but I still want to be able to move the mouse and interact with the menu pages.
Thanks!
In the properties of the ActionList that calls this Action, you can set its When running field to Run In Background to prevent it from entering "cutscene" mode while running.
If you need the rest of the Actions to block gameplay, you can move these to a separate ActionList and sequence them with the ActionList: Run Action.
Actually, your solution worked just fine. 😊 Thanks!