Execute_AttachGrabObject
Description
Attaches a grab object to the right hand of the specified BaseObject. If the character is already holding an object, it will be destroyed before attaching the new one. If the character is currently climbing a ladder, the command will not execute.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to attach the grab object to (Self or Target). |
| S1 | Object data table ID of the object to attach (ObjectDataTableId). |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Attach an umbrella to Self | Self | AttachGrabObject | Umbrella01 |
| Attach an apple to Target | Target | AttachGrabObject | GrowFood_Apple |
| Attach an umbrella to Target | Target | AttachGrabObject | Umbrella01 |
| Attach a book to Self | Self | AttachGrabObject | Book01 |
Back to Command FinderSearch and filter all 399 Script Execution documents