Execute_OpenGiftBox
Description
Self opens the Target gift box entity, spawns the contained gift object in Self's right hand, applies the relationship reward defined in the gift data, and removes the gift box from the manager. Also triggers the OpenGiftBox smart situation to expose Self's reaction.
Note
Target must be a valid gift box entity registered in the GiftManager with Self as the recipient. If the gift object data is valid, the object is spawned and attached to Self's right hand with the appropriate grab animation.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character opening the gift box; Target is the gift box entity (Self) |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Self opens a gift box sent by someone | Self | OpenGiftBox |
| Self opens gift box and receives the contained object | Self | OpenGiftBox |
Back to Command FinderSearch and filter all 399 Script Execution documents