Skip to main content

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

ParameterDescription
BaseObjectNot directly used; Self is the giver and Target is the receiver
S1Optional "True" to trigger the object's HandOver receive script after handover

Examples

DescriptionBaseObjectCommandS1
Hand over the held object from Self to TargetSelfHandOverGrabObject
Hand over and trigger the object's receive scriptSelfHandOverGrabObjectTrue