Skip to main content

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

ParameterDescription
BaseObjectThe character entity to detach the mesh from (Self or Target).
S1Mesh ID to detach from the character (e.g., Hat_001).

Examples

DescriptionBaseObjectCommandS1
Detach a hat mesh from selfSelfDetachMeshHat_001
Detach an accessory mesh from the target characterTargetDetachMeshAccessory_02