Execute_DetachMesh
Description
Detaches a visual mesh from the character specified by BaseObject. The mesh is identified by S1 and is managed by the character's AttachMeshComponent.
Note
The character entity must be valid and must have a valid FB2AttachMeshComponent.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character entity to detach the mesh from (Self or Target). |
| S1 | Mesh ID to detach from the character (e.g., Hat_001). |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Detach a hat mesh from self | Self | DetachMesh | Hat_001 |
| Detach an accessory mesh from the target character | Target | DetachMesh | Accessory_02 |
Back to Command FinderSearch and filter all 399 Script Execution documents