stop_animation
Stops a ModelEngine or BetterModel animation on the triggering entity, or the victim if it has none.
Categories: entity, visual
Required arguments
| Key(s) | Description | Type |
|---|
animation | The name of the animation to stop. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
fade | If the animation should blend out over its lerp out time, or stop straight away. ModelEngine only. | BOOLEAN | true |
model | Only stop the animation on the model with this ID. Leave out to stop it on every model. | STRING | |
Example
effects:
- id: stop_animation
args:
animation: <value>
fade: true # ← Optional
model: <value> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |