Execute_SendGiftBox
Description
Sends a relationship-based gift box. If S2 (MobileMessagePartiesId) is specified, the sender and receiver are determined by MobileMessageParties data; otherwise sends from Self to Target.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Reference entity for the script context |
| S1 | GiftBoxId to send |
| S2 | MobileMessagePartiesId (optional; if omitted, Self is sender and Target is receiver) |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Send a birthday gift box from Self to Target | Self | SendGiftBox | GiftBox_Birthday | |
| Send a thank-you gift box using a specific parties definition | Self | SendGiftBox | GiftBox_ThankYou | Parties_FriendToPlayer |
| Send a holiday gift box to Target | Self | SendGiftBox | GiftBox_Holiday | |
| Send a wedding gift using a neighbor-to-player party setup | Self | SendGiftBox | GiftBox_Wedding | Parties_NeighborToPlayer |
Back to Command FinderSearch and filter all 399 Script Execution documents