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
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; Self detaches and puts down the held object |
| S1 | Optional "Destroy" to destroy the held object instead of placing it |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Put down held object on table slot or floor | Self | PutDownDetachObject |
| Destroy the held object instead of placing it | Self | PutDownDetachObject |
Back to Command FinderSearch and filter all 399 Script Execution documents