DelayedEffect ​
Inherits: CompositeEffect < Effect < DatabaseResource < Resource
DelayedEffect applies child effects after a specified delay Can also be configured as a "trigger" effect that applies when cancelled
Properties ​
bool | apply_on_cancelled | false |
VFXSelectionTelegraph | telegraph_vfx | |
bool | telegraph_on_cancellation | false |
Methods ​
void | process_before_start( effect_instance: EffectInstance ) |
void | specific_effect_logic( _effect_instance: EffectInstance ) |
void | on_apply_finished( effect_instance: EffectInstance ) |
float | get_delay_duration() |
bool | is_delay_pending( effect_instance: EffectInstance ) |
String | get_effect_type_description() |
bool | has_telegraph_warning() |
float | get_telegraph_duration() |
String | get_effect_description() |
String | get_editor_description() |
Property descriptions ​
Delay Settings
bool apply_on_cancelled = false ​
Apply child effects when effect is cancelled/dispelled
Telegraph VFX
VFXSelectionTelegraph telegraph_vfx ​
Telegraph warning VFX to show during delay
bool telegraph_on_cancellation = false ​
Show telegraph even when triggered by cancellation
Method descriptions ​
void process_before_start( effect_instance: EffectInstance ) ​
Override to handle telegraph VFX when effect starts
void specific_effect_logic( _effect_instance: EffectInstance ) ​
Override Delay Effect instead applies child effects on finished
void on_apply_finished( effect_instance: EffectInstance ) ​
Apply child effects when the delay timer finishes
float get_delay_duration() ​
Get the delay duration from the time strategy
bool is_delay_pending( effect_instance: EffectInstance ) ​
Check if the delayed effect is still pending
String get_effect_type_description() ​
Get the effect type description for tooltips
bool has_telegraph_warning() ​
Check if this delayed effect has a telegraph warning
float get_telegraph_duration() ​
Get telegraph duration (same as delay duration)
String get_effect_description() ​
The text of the effect for tooltips, with its values filled in.
String get_editor_description() ​
A short text for the effect editor that says what the effect does.