open [of] %inv:EXPR%Inventory1.0.0
Description
Handles the open event of a Lumen inventory. Provides player, inventory, and title variables.
Allowed Contexts
Root LevelInside Block
Block Variables
playerplayer
NullableNo
The player who opened the inventory
worldworld
NullableNo
The world the player is in
inventoryinventory
NullableNo
The top inventory that was opened
titlestring
NullableNo
The title of the inventory view
Examples
open of "main_menu":
message player "Menu opened!"All Possible Usages (2)
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
open <inv>open of <inv>