Skip to content

Sein Modifier

Struct · FSeinModifier

#include "Attributes/SeinModifier.h"

deterministic: safe in simulation code

One change an effect makes to a field. While the effect is active, the field holds its base value with every applicable modifier applied, so the simulation, ability graphs and the UI all read the modified value. The base value is kept beside it (Get Base Data, Get Attribute).

Numbers (Fixed Point and integer fields) take Add, Multiply and Override; integer results round to the nearest whole number and stay within +-2,147,483,647. Every other field type takes Override. Resolution: the base, plus every Add, scaled by one plus every Multiply’s percentage (never below zero); an Override replaces the result. A stacked effect applies its modifiers once per stack. Modifiers on one field and on a field inside it (a struct and its member, an array and its element) don’t combine on one entity: the inner ones are skipped with an error.

ESeinModifierTarget Target · default ESeinModifierTarget::Component

Editable in defaults and on instances · Blueprint read and write

Whether the field belongs to a component or to the entity’s abilities.

TObjectPtr<UScriptStruct> TargetComponentType · shown when Target == ESeinModifierTarget::Component

Editable in defaults and on instances · Blueprint read and write

The component whose field changes. Entities without it are left alone.

FGameplayTag TargetAbilityTag · shown when Target == ESeinModifierTarget::Ability

Editable in defaults and on instances · Blueprint read and write

The abilities whose field changes: every ability of the entity whose Ability Tag is this tag or one of its children.

FString TargetField

Editable in defaults and on instances · Blueprint read and write

The field to change, picked from the list or typed as a path: a name (“Speed”, or a Blueprint component’s variable such as “Current Health”), a dot for a field inside a struct field (“Placement.Radius”), [n] for an array element (“VisionStamps[0].Radius”) and [key] for a map entry (“ResourceCaps[SeinARTS.Resource.Minerals]”).

ESeinModifierOp Operation · default ESeinModifierOp::Add

Editable in defaults and on instances · Blueprint read and write

How the field changes.

FFixedPoint Value

Editable in defaults and on instances · Blueprint read and write

For a number field: the amount Add adds, the scale Multiply applies (1.3 is +30%), or the value an Override holds.

FInstancedPropertyBag OverrideValue

Editable in defaults and on instances

For any other field: the value an Override holds, edited with the field’s own type. It follows the field you pick.

FGameplayTag TargetClassTag

Editable in defaults and on instances · Blueprint read and write

In a Class-scope effect: the class this modifier reaches, overriding the effect’s Default Target Class Tag. Other scopes ignore it.