Sein Effect Duration Mode
Enum · ESeinEffectDurationMode
#include "Effects/SeinEffect.h"
How an effect’s lifetime is handled.
Instant → applies + removes the same tick. OnApply fires; OnExpire never does (no real expiration happened). Use for one-shot stat bumps, “give resources now,” instant-damage effects, etc. Persistent → never expires on its own. Stays until explicitly removed (e.g. by RemoveEffect, or by the entity being destroyed). Use for tech effects, “while alive” buffs, permanent stat upgrades. Timed → finite duration; ticks down in FSeinEffectTickSystem and fires OnExpire when RemainingDuration hits zero. Reads the Duration field for the timer length.
Values
Section titled “Values”| Value | Name in the editor | Meaning |
|---|---|---|
Instant |
Instant | Applies and removes itself in the same call: On Apply runs, then On Removed with By Expiration set. On Expire never runs. Its modifiers change the base values for good. Use for one-shot changes such as granting resources or a level-up bonus. |
Persistent |
Persistent | Never ends on its own. It stays until a Remove Effect node or another effect’s Remove Effects With Tag removes it, or until its target is destroyed. Use for tech upgrades and while-alive buffs. |
Timed |
Timed | Ends after Duration sim-seconds. On Expire runs, then On Removed with By Expiration set. |