|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
## Description
|
|
|
Forcibly create or delete bones from a model.<br>
|
|
|
This is mainly used for removing interactive bones such as sub-hitboxes or seats.<br>
|
|
|
If you want to hide a renderer bone temporarily, use [PartVisibility](/Skills/Mechanics/PartVisibility) instead.
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------------|------------------------------------------|---------|---------|
|
|
|
| modelid | m, mid, model | Targeted model | String | |
|
|
|
| remove | r | Is this mechanic used for removing bones | Boolean | false |
|
|
|
|
|
|
#### When remove = false
|
|
|
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|--------------|
|
|
|
| partid | p, pid, partid | The parent of the added bone | String | |
|
|
|
| subpartid | sp, spid, subpart | The added bone. All child bone of this bone will also be added. | String | |
|
|
|
| prefix | pfx | Prefix of the newly added bones.<br> This is used to distinguish duplicate bones.<br>E.g.`sp=test;pfx=custom_` will add a bone called `custom_test`.<br> This new bone name can be targeted by other mechanics. | String | Empty String |
|
|
|
|
|
|
#### When remove = true
|
|
|
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|-------------------|------------------|--------|---------|
|
|
|
| subpartid | sp, spid, subpart | The removed bone | String | | |
|
|
\ No newline at end of file |