Skip to main content

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

ParameterDescription
BaseObjectThe character whose inventory will receive the spawned object
S1Object.Id to spawn (Object.json Id)

Examples

DescriptionBaseObjectCommandS1
Spawn souvenir into character's inventorySelfSpawnNewInventoryObjectShopStall_v01