Forum rules - please read before posting.

Documents in containers

Hi

Is there a way to have documents in containers? I want the player to be able to open something, say a chest, and find a document (scrap of information about the world), along with inventory items. However it doesn't appear that you can add docs to containers, only inventory entries.

Am I missing something?

Olly

Comments

  • Documents and Inventory items are separate entities.

    You can, however, have an Inventory item that represents a Document, and then set that Item's "Use" ActionList to one that runs the Document: Open Action to view the Document when clicked.

    Through scripting, you can also have the Document be added automatically when the Item is added (and vice-versa when removed):

    https://adventure-creator.fandom.com/wiki/Link_Items_and_Documents

  • Thanks Chris. The latter sounds like it will work. My UI separates docs from items so need to "physically" add a document rather than just open it via scripting.

    Will take a look.
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.