skeleton_attachment_destroy

This function destroys a custom attachment created using one of the skeleton_attachment_create/skeleton_attachment_create_colour or skeleton_attachment_replace/skeleton_attachment_replace_colour functions.

After destroying an attachment the name becomes available again and you can create a new attachment  with that name using skeleton_attachment_create.

Syntax:

skeleton_attachment_destroy(name);

ArgumentTypeDescription
nameStringThe name of the attachment to destroy

 

Returns:

N/A

 

Example:

skeleton_attachment_destroy("leg_left");

The above code destroys an existing custom attachment with the name "leg_left".