VFXSelectionOneShot ​
Inherits: VFXSelection < Resource
OneShot VFX selection - fire-and-forget effects like explosions, impacts
Properties ​
VFXSelection.VfxLocation | location | VFXSelection.VfxLocation.BASE |
float | delay_start | 0.0 |
bool | follow_target_on_death | false |
Methods ​
Variant | prepare_target_for_vfx_type( target: Variant, originator: Variant = null ) |
String | get_description() |
String | get_vfx_type() |
String | get_vfx_name() |
Property descriptions ​
VFXSelection.VfxLocation location = VFXSelection.VfxLocation.BASE ​
Where on the target the effect is placed.
float delay_start = 0.0 ​
How many seconds to wait before the effect starts.
bool follow_target_on_death = false ​
Continue following even if target dies
Method descriptions ​
Variant prepare_target_for_vfx_type( target: Variant, originator: Variant = null ) ​
OneShot VFX uses target as-is (no special preparation needed)
String get_description() ​
A short text about the visual effect, for the editor.
String get_vfx_type() ​
The kind of visual effect (beam, loop, one shot ...).
String get_vfx_name() ​
The name of the visual effect that is picked.