Execute_SpawnNewInventoryObject
Description
Creates a new CarriableObject and puts it directly into the BaseObject character's inventory. Unlike SpawnNewCarriableObject, this does not attach the object to the character's hand, so it can be safely used from any action type (not just PickUp).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose inventory will receive the spawned object |
| S1 | Object.Id to spawn (Object.json Id) |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Spawn souvenir into character's inventory | Self | SpawnNewInventoryObject | ShopStall_v01 |
Back to Command FinderSearch and filter all 399 Script Execution documents