Execute_HandOverGrabObject
Description
Detaches the object from the Self (Giver) character's hand and attaches it to the Target (Receiver) character's hand. Returns early if the Giver has nothing to hand over, or if the Receiver's hands are already full. Optionally triggers the hand-over receive script on the object if S1 is "True".
Note
Ownership of the handed-over object is transferred to the Receiver character after handover.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; Self is the giver and Target is the receiver |
| S1 | Optional "True" to trigger the object's HandOver receive script after handover |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Hand over the held object from Self to Target | Self | HandOverGrabObject | |
| Hand over and trigger the object's receive script | Self | HandOverGrabObject | True |
Back to Command FinderSearch and filter all 399 Script Execution documents