|
|
[< Back to mechanic page](/Skills/Mechanics#vfx-mechanics)
|
|
|
|
|
|
## 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
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------------|-------------------------------------------------------------------------------------------|---------|---------|
|
... | ... | @@ -18,15 +18,14 @@ Similarly, the VFX will despawn when the target is removed. |
|
|
| 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
|
|
|
--------
|
|
|
|
|
|
## Examples
|
|
|
#### Applying VFX to a projectile:
|
|
|
|
|
|
This will spawn a projectile using the `fire_bolt` bone model from `weapon_vfx` model blueprint.
|
|
|
|
|
|
```yaml
|
|
|
Skills:
|
|
|
Skills:
|
|
|
- projectile{v=20;i=1;hR=0.25;vR=0.25;hnp=true;
|
|
|
oS=[
|
|
|
- vfx{mid=weapon_vfx;pid=fire_bolt}
|
... | ... | |