Skip to main content

Execute_AttachMesh

Description

Attaches a visual mesh to 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 attach the mesh to (Self or Target).
S1Mesh ID to attach to the character (e.g., Hat_001).

Examples

DescriptionBaseObjectCommandS1
Attach a hat mesh to selfSelfAttachMeshHat_001
Attach an accessory mesh to the target characterTargetAttachMeshAccessory_02