Execute_SendCommonGiftBox
Description
Randomly selects a gift box from the CommonGiftBoxList in the RelationshipDataAsset and sends it to the BaseObject entity.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity that will receive the gift box |
| S1 | CarriableObjectType enum name (e.g., Food, Furniture, Goods) |
| S2 | Additional parameter passed to GiftManager.SendGiftBox (optional) |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Send a random common food gift box to Self | Self | SendCommonGiftBox | Food | |
| Send a random common furniture gift box to Target | Target | SendCommonGiftBox | Furniture | |
| Send a random common goods gift box to Self | Self | SendCommonGiftBox | Goods |
Back to Command FinderSearch and filter all 399 Script Execution documents