Script:inventory create: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptCommandPage |description=enable the inventory |context=any |intro=If the calling entity already has an inventory it and all contained items are destroyed as if {{Command|inventory destroy}} was called before a new empty inventory is created. This command has no effect for the player. }}")
 
mNo edit summary
Line 4: Line 4:
|intro=If the calling entity already has an inventory it and all contained items are destroyed as if {{Command|inventory destroy}} was called before a new empty inventory is created. This command has no effect for the [[player]].
|intro=If the calling entity already has an inventory it and all contained items are destroyed as if {{Command|inventory destroy}} was called before a new empty inventory is created. This command has no effect for the [[player]].
}}
}}
[[Category:Script commands destroying entities]]

Revision as of 12:56, 19 June 2022

The inventory create script command is used to enable the inventory for an entity. If the calling entity already has an inventory it and all contained items are destroyed as if inventory destroy was called before a new empty inventory is created. This command has no effect for the player.

Usage

inventory create

Context: Any Entity