Changes
Page history
Update VFX
authored
Oct 23, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/VFX.md
View page @
b021a2e6
[
< Back to mechanic page
](
/Skills/Mechanics#vfx-mechanics
)
[
< Back to mechanic page
](
/Skills/Mechanics#vfx-mechanics
)
## Description
## 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 |
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
...
@@ -18,9 +18,8 @@ Similarly, the VFX will despawn when the target is removed.
...
@@ -18,9 +18,8 @@ Similarly, the VFX will despawn when the target is removed.
| enchant | en | Whether the vfx should be enchanted | Boolean | False |
| 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
#### Applying VFX to a projectile:
#### Applying VFX to a projectile:
This will spawn a projectile using the
`fire_bolt`
bone model from
`weapon_vfx`
model blueprint.
This will spawn a projectile using the
`fire_bolt`
bone model from
`weapon_vfx`
model blueprint.
...
...
...
...