|
|
[< Back to mechanic page](/Skills/Mechanics#vfx-mechanics)
|
|
|
|
|
|
Mechanic: VFX
|
|
|
===============
|
|
|
## Description
|
|
|
|
|
|
Assign or remove a VFX from an entity or a projectile.
|
|
|
The VFX will automatically be spawned and move with the target.
|
|
|
Similarly, the VFX will despawn when the target is removed.
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
|
|
|
| modelid | m, mid, model | Model of the VFX | String | |
|
... | ... | @@ -18,6 +15,7 @@ Attributes |
|
|
| radius | rad | Visible radius of the VFX.<br/>Values less than or equal to 0 will not be read | Integer | 0 |
|
|
|
| color | c | Default color of the VFX in hex | Color | FFFFFF |
|
|
|
| visible | v | Is the VFX visible by default | Boolean | true |
|
|
|
| enchant | en | Whether the vfx should be enchanted | Boolean | False |
|
|
|
| bvisible | bv | Is the base entity visible by default.<br/>Has no effect when the target is a projectile. | Boolean | true |
|
|
|
|
|
|
Examples
|
... | ... | |