Skip to content

RevealEffect ​

Inherits: Effect < DatabaseResource < Resource

RevealEffect reveals its target: a stealthed target becomes visible at once, and, with prevent_stealth and a duration, it cannot go into stealth again while the effect lasts.

Description ​

It is not an area. To reveal everything in a shape, make it a child effect of an Area effect (with gain_on_enter and remove_on_exit on the area, an entity is revealed while it is inside); to reveal one target (a hunter's mark), use it alone or in a projectile.

Properties ​

boolprevent_stealthtrue

Methods ​

voidspecific_effect_logic( effect_instance: EffectInstance )
voidon_apply_finished( effect_instance: EffectInstance )
Stringget_effect_description()
Stringget_editor_description()

Property descriptions ​

Reveal Settings

bool prevent_stealth = true ​

Keep the target from going into stealth again while the effect lasts (needs a duration; an immediate reveal only reveals once)

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

Reveals the target and, for a lasting effect, keeps it from hiding

void on_apply_finished( effect_instance: EffectInstance ) ​

Called when the effect ends: takes back what it did.

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.