Skip to content

DistanceConditionalEffect ​

Inherits: ConditionalEffect < CompositeEffect < Effect < DatabaseResource < Resource

Applies child effects based on the distance between originator and target.

Properties ​

floatmax_distance5.0

Methods ​

voidspecific_effect_logic( effect_instance: EffectInstance )
Stringget_editor_description()

Property descriptions ​

Condition Settings

float max_distance = 5.0 ​

Maximum distance (in units) for the condition to pass

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

What the effect does to its target when it is applied.

String get_editor_description() ​

A short text for the effect editor that says what the effect does.