Skip to main content

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

ParameterDescription
BaseObjectReference entity for the script context
S1GiftBoxId to send
S2MobileMessagePartiesId (optional; if omitted, Self is sender and Target is receiver)

Examples

DescriptionBaseObjectCommandS1S2
Send a birthday gift box from Self to TargetSelfSendGiftBoxGiftBox_Birthday
Send a thank-you gift box using a specific parties definitionSelfSendGiftBoxGiftBox_ThankYouParties_FriendToPlayer
Send a holiday gift box to TargetSelfSendGiftBoxGiftBox_Holiday
Send a wedding gift using a neighbor-to-player party setupSelfSendGiftBoxGiftBox_WeddingParties_NeighborToPlayer