Skip to content

Clothing & Attachments

Setting Avatar values

@detach

Prevents an attachment from being detached (which attachment depends on how it's called) and removes specific attachments (depending on how its called!) See the examples below..

@detach[:@lt;attachment_point>]=<n|y>

  • [:<attachment_point>] - Optional attachment point to target.

With no parameters, the specific attachment containing the calling script will be locked.

@detach=n

Specifying an optional attachment point name will cause that point to be locked, any attachments on that point will be locked and no other attachments may be added to it.

@detach:head=n

Calling the command with y unlocks the attachment containing the script.

@detach=y

@detach[:@lt;attachment_point>]=<n|y>

  • [:<attachment_point>|<attachment>]=force

Using force removes an attachment, either by point name or UUID.

@detach:head=force

@detach:b7d41859-a37a-4989-9796-1056e72766ab=force

Using force on it's own will remove all non locked attachments.

@detach=force

Attachments using Nostrip can not be removed by scripted commands, this is by design and gives the user a manual override, intended for items such as hair, tails, or mesh bodies.


@detachthis

@detachthis[:<attachment_point>|<clothing_layer>|<attachment>]=force


@remattach

Removes an attachments by point or name.

@remattach[:<attachment_point>|<attachment>]=force

It's better to use @detach[:<attachment_point>|<attachment>]=force as that saves 3 bytes of script memory.


Attachment Point Reference

Attachment Point Groups

head, torso, arms, legs, hud

Attachment Point Names

head, nose, mouth, tongue, chin, jaw, left ear, right ear, left ear (extended), right ear (extended), left eye, right eye, left eye (extended), right eye (extended), neck, left shoulder, right shoulder, left upper arm, right upper arm, left lower arm, right lower arm, left hand, right hand, left ring finger, right ring finger, left wing, right wing, chest/sternum, left pectoral, right pectoral, belly/stomach/tummy, back, tail base, tail tip, avatar center/root, pelvis, groin, left hip, right hip, left upper leg, right upper leg, right lower leg, left lower leg, left foot, right foot, left hind foot, right hind foot, HUD, HUD Center 2, HUD Top Right, HUD Top, HUD Top Left, HUD Center, HUD Bottom Left, HUD Bottom, HUD Bottom Right

Clothing Point Names

alpha, tattoo, shoe base, physics, socks, gloves, undershirt, underpants, shirt, pants, jacket, skirt