Changes
Page history
Update VFX
authored
Oct 21, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/VFX.md
View page @
9e716a5e
[
< Back to mechanic page
](
/Skills/Mechanics#vfx-mechanics
)
[
< Back to mechanic page
](
/Skills/Mechanics#vfx-mechanics
)
Mechanic: VFX
## Description
===============
Assign or remove a VFX from an entity or a projectile.
Assign or remove a VFX from an entity or a projectile.
The VFX will automatically be spawned and move with the target.
The VFX will automatically be spawned and move with the target.
Similarly, the VFX will despawn when the target is removed.
Similarly, the VFX will despawn when the target is removed.
Attributes
## Attributes
----------
| Attribute | Aliases | Description | Type | Default |
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
| modelid | m, mid, model | Model of the VFX | String | |
| modelid | m, mid, model | Model of the VFX | String | |
...
@@ -18,6 +15,7 @@ Attributes
...
@@ -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 |
| 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 |
| color | c | Default color of the VFX in hex | Color | FFFFFF |
| visible | v | Is the VFX visible by default | Boolean | true |
| 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 |
| bvisible | bv | Is the base entity visible by default.
<br/>
Has no effect when the target is a projectile. | Boolean | true |
Examples
Examples
...
...
...
...