Script:inventory playeraddfromscene: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScriptCommandPage |description=add an existing entity to the player inventory |context=self |parameters= entity entity ID of the entity to add to the player inventory }}") |
mNo edit summary |
||
Line 4: | Line 4: | ||
|parameters= | |parameters= | ||
entity entity ID of the entity to add to the player inventory | entity entity ID of the entity to add to the player inventory | ||
|intro=The entity must exist on the current level. | |||
}} | }} |
Revision as of 08:52, 19 June 2022
The inventory playeraddfromscene
script command is used to add an existing entity to the player inventory. The entity must exist on the current level.
Usage
inventory playeraddfromscene <entity>
Context: For self
Parameters:
Parameter | Type | Description |
---|---|---|
entity |
entity |
ID of the entity to add to the player inventory |