Skip to content

SeinARTS Event Library

Class · USeinEventBPFL : UBlueprintFunctionLibrary

#include "Events/SeinEventBPFL.h"

deterministic: safe in simulation code

Nodes that report a result your own rules decided, such as damage, healing or death, to presentation as visual events. The framework applies no damage itself: write the stat first, then notify.

Route a resolved hit to presentation: enqueues the DamageApplied visual event (Target receives On Damage Applied with Amount, Source, and your damage-type tag). Call it AFTER the stat write — typically right after Apply Field Delta on your vitals struct. Source may be invalid for environmental damage. Returns false (with a warning) when the sim rejects the call: no world, unauthorized timing, or a Target that is no longer alive — notify BEFORE you Destroy Entity.

static bool SeinNotifyDamageApplied(const UObject* WorldContextObject, FSeinEntityHandle Target, FSeinEntityHandle Source, FFixedPoint Amount, FGameplayTag DamageType);

Route a resolved heal to presentation: enqueues the HealApplied visual event (Target receives On Heal Applied). Same contract as Notify Damage Applied.

static bool SeinNotifyHealApplied(const UObject* WorldContextObject, FSeinEntityHandle Target, FSeinEntityHandle Source, FFixedPoint Amount, FGameplayTag HealType);

Route a death decided by YOUR rule to presentation: enqueues the Death visual event for Dying (On Death → death animation routing) and, when Killer is a live entity, the matching Kill event for kill-feed / scoreboard UI attributed to Killer’s owner. Does NOT destroy the entity — follow with Destroy Entity (or keep it around as a wreck, downed model, etc.). ORDER MATTERS: call this while Dying is still alive, i.e. before Destroy Entity; a dead Dying is refused with a warning. An invalid or already-destroyed Killer still produces the Death event, just no Kill attribution. Returns false when the sim rejects the call.

static bool SeinNotifyDeath(const UObject* WorldContextObject, FSeinEntityHandle Dying, FSeinEntityHandle Killer);

Route a game-defined event to presentation: enqueues a GameEvent visual event named by Event Tag, carrying Primary Entity, Secondary Entity, Value and Location as the game defines them. The Primary Entity’s bridge raises On Visual Event with it. Returns false when the sim rejects the call or Event Tag is empty.

static bool SeinNotifyEvent(const UObject* WorldContextObject, FGameplayTag EventTag, FSeinEntityHandle PrimaryEntity, FSeinEntityHandle SecondaryEntity, FFixedPoint Value, FFixedVector Location);