Skip to content

X2Effect_Stunned

Editor: X2AbilityEffectsEditor_Stunned · extends X2AbilityEffectsEditor_Persistent.

Own fields

Config field Type Requires Game field Description
StunLevel int SetStunLevel=true StunLevel Action points the stun takes away.
SkipAnimation bool SetSkipAnimation=true bSkipAnimation Skip the stun animations.
StunStartAnimName name SetStunStartAnimName=true StunStartAnimName Animation played when the stun starts, if the unit can play it.
StunStopAnimName name SetStunStopAnimName=true StunStopAnimName Animation played when the stun ends.
StunnedTriggerName name SetStunnedTriggerName=true StunnedTriggerName Event fired when the unit is stunned.

Inherited fields

From X2AbilityEffectsEditor (20)

ApplyOnHit, ApplyOnMiss, ApplyChance, ApplyToWorldOnHit, ApplyToWorldOnMiss, UseSourcePlayerState, IsImpairing, IsImpairingMomentarily, BringRemoveVisualizationForward, ShowImmunity, ShowImmunityAnyFailure, AppliesDamage, CanBeRedirected, HideDeathWorldMessage, MinStatContestResult, MaxStatContestResult, DelayVisualizationSec, OverrideMissMessage, DamageTypes, TargetConditions

From X2AbilityEffectsEditor_Persistent (39)

InfiniteDuration, TickWhenApplied, CanTickEveryAction, ConvertTurnsToActions, RemoveWhenSourceDies, RemoveWhenTargetDies, RemoveWhenSourceDamaged, RemoveWhenTargetConcealmentBroken, PersistThroughTacticalGameEnd, IgnorePlayerCheckOnTick, UniqueTarget, StackOnRefresh, DupeForSameSourceOnly, EffectForcesBleedout, DisplayInUI, DisplayInSpecialDamageMessageUI, SourceDisplayInUI, NumTurns, InitialShedChance, PerTurnShedChance, EffectRank, EffectHierarchyValue, VisionArcDegreesOverride, CustomIdleOverrideAnim, EffectName, AbilitySourceName, EffectAppliedEventName, ChanceEventTriggerName, VFXSocket, VFXSocketsArrayName, FriendlyName, FriendlyDescription, IconImage, SourceFriendlyName, SourceFriendlyDescription, SourceIconLabel, StatusIcon, VFXTemplateName, PersistentPerkName

Every one of these is documented under Shared fields or on the page for the class that introduces it.

Not editable from config
  • StunnedText — localized — use .int localization files
  • RoboticStunnedText — localized — use .int localization files