Sein Command Mapping
Struct · FSeinCommandMapping
#include "Abilities/SeinAbilityTypes.h"
deterministic: safe in simulation code
A single mapping from a command context (set of gameplay tags describing the click/input context) to the ability that should be activated.
Lives on Ability Data::DefaultCommands. When the player right-clicks, the controller builds a context tag set and finds the highest-priority mapping whose RequiredContext is a subset of the actual context.
Example for a Medic: Priority 100: {RightClick, Target.Friendly, Target.Transport} → Ability.Embark Priority 50: {RightClick, Target.Friendly} → Ability.Heal Priority 50: {RightClick, Target.Enemy} → Ability.Attack Priority 0: {RightClick, Target.Ground} → Ability.Move
Properties
Section titled “Properties”Required Context
Section titled “Required Context”FGameplayTagContainer RequiredContext
Editable in class defaults · Blueprint read-only
Context tags that must ALL be present for this mapping to match.
Ability Tag
Section titled “Ability Tag”FGameplayTag AbilityTag
Editable in class defaults · Blueprint read-only
Ability tag to activate when this mapping matches.
Priority
Section titled “Priority”int32 Priority · default 0
Editable in class defaults · Blueprint read-only
Higher priority mappings are checked first. Most specific mapping should have highest priority.