... | ... | @@ -3,7 +3,7 @@ |
|
|
Mechanic: State
|
|
|
===============
|
|
|
|
|
|
Alias: animation
|
|
|
Alias: Animation
|
|
|
---------------
|
|
|
|
|
|
Play or stop an animation on a model.
|
... | ... | @@ -11,28 +11,28 @@ Play or stop an animation on a model. |
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|---------------|------------------------------------------|---------|
|
|
|
| modelid | m, mid, model | The model receiving a state change | |
|
|
|
| state | s | The state | |
|
|
|
| remove | r | Is this mechanic used for removing state | false |
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------------|------------------------------------------|---------|---------|
|
|
|
| modelid | m, mid, model | The model receiving a state change | String | |
|
|
|
| state | s | The animation being played | String | |
|
|
|
| remove | r | Is this mechanic used for removing state | Boolean | false |
|
|
|
|
|
|
#### When remove = false
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|---------|--------------------------------------------------------------------------------------|---------|
|
|
|
| speed | sp | Speed multiplier of the state | 1 |
|
|
|
| lerpin | li | Transition tick when the animation starts | 0 |
|
|
|
| lerpout | lo | Transition tick when the animation ends | 1 |
|
|
|
| force | f | Should the animation be played again even if it is already playing | false |
|
|
|
| priority | p, pr | Set the priority of the animation.<br/>Only parsed when model is using Hybrid system | 1 |
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------|--------------------------------------------------------------------------------------|---------|---------|
|
|
|
| speed | sp | Speed multiplier of the state | Double | 1 |
|
|
|
| lerpin | li | Transition tick when the animation starts | Integer | 0 |
|
|
|
| lerpout | lo | Transition tick when the animation ends | Integer | 1 |
|
|
|
| force | f | Should the animation be played again even if it is already playing | Boolean | false |
|
|
|
| priority | p, pr | Set the priority of the animation.<br/>Only parsed when model is using Hybrid system | Integer | 1 |
|
|
|
|
|
|
#### When remove = true
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|------------|---------|--------------------------------------------------------------------------------------------------------|---------|
|
|
|
| ignorelerp | i | Should the state be instantly removed without transition | false |
|
|
|
| priority | p, pr | Target the animation of a particular priority<br/>Only parsed when model is using new animation system | 1 |
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|------------|---------|--------------------------------------------------------------------------------------------------------|---------|---------|
|
|
|
| ignorelerp | i | Should the state be instantly removed without transition | Boolean | false |
|
|
|
| priority | p, pr | Target the animation of a particular priority<br/>Only parsed when model is using new animation system | Integer | 1 |
|
|
|
|
|
|
Examples
|
|
|
--------
|
... | ... | |