Skip to main content

Execute_AddObjectToBag

Description

Creates the specified item and adds it to the bag.

Parameters

ParameterDescription
BaseObjectThe inventory owner that will receive the item
S1The Id from Object.json for the item to be created and added
F1The number of items to add (minimum: 1)

Examples

DescriptionBaseObjectCommand
Create Yukgaejang and add it to Self's bagSelfAddObjectToBag
Create a book and add it to Target's bagTargetAddObjectToBag
Create 3 items and add them to Self's bagSelfAddObjectToBag