Skip to reading
Action Lists & Events

Inventory and two-object interactions

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page
On this page

An inventory definition describes an item. Giving an item changes a bag. Removing its scene model is a separate instruction. Decide whether the project uses shared or character-specific inventory before writing transfers.

Add Inventory#

ID: AddInventory | Shared list / GUI · Visual graph · Text action wrapper · Timeline

Add copies of an existing inventory item through the runtime's active inventory route.

Source table from Inventory and two-object interactions, page 66
Field / stored keyWhat to enterStarting value
Item itemIdChoose an inventory definition ID.Blank
Count countNumber of copies or repetitions. Use a whole number.1

In use. Add one Archive Key after a successful pickup. This is not a command to import a model, and it does not hide the key on the workbench. Use Give Inventory in the room/object inspector when this entry is not listed there.

Give Inventory#

ID: GiveInventory | Native inspector · Shared list / GUI

Give a quantity of an item to the selected character's inventory route.

Source table from Inventory and two-object interactions, page 66
Field / stored keyWhat to enterStarting value
Character characterIdChoose a Character Designer ID; player is a runtime alias where supported.Blank
Item itemIdChoose an inventory definition ID.Blank
Count countNumber of copies or repetitions. Use a whole number.1

In use. Choose Player, Archive Key and Quantity 1 for the pickup lesson. In character-owned inventory games, choose the intended character explicitly. A shared-inventory setting can make character ownership appear unchanged because everyone is using the same bag.

Page 66 of 189Permalink
Go to page