Skip to main content

Execute_PutDownDetachObject

Description

Detaches the carriable object from the Self character's hand and puts it down. The object can be placed on the Target object's slot, on the floor, or into inventory. Uses PutDownContext to determine which hand to release. If S1 is "Destroy", the held object is destroyed.

Note

If TargetEntityId has an available slot for the held object, places it there and attaches as a grouping object. If PendingPutDown is set (floor placement), places the object at the pending floor location with collision enabled.

Parameters

ParameterDescription
BaseObjectNot directly used; Self detaches and puts down the held object
S1Optional "Destroy" to destroy the held object instead of placing it

Examples

DescriptionBaseObjectCommand
Put down held object on table slot or floorSelfPutDownDetachObject
Destroy the held object instead of placing itSelfPutDownDetachObject