|
|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
Changes the parent of a bone to another bone.
|
|
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|
|-----------|---------------|----------------------|--------|---------|
|
|
|
|
| modelid | m, mid, model | Targeted model | String | |
|
|
|
|
| parent | p | The new parent bone | String | |
|
|
|
|
| child | c | The bone being moved | String | |
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- model{m=Duck} @self ~onSpawn
|
|
|
|
- changeparent{m=Duck;p=body;c=right_leg}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |