Skip to content

X2Effect_RunBehaviorTree

Editor: X2AbilityEffectsEditor_RunBehaviorTree · extends X2AbilityEffectsEditor_Persistent.

Own fields

Config field Type Requires Game field Description
NumActions int SetNumActions=true NumActions Number of behavior tree actions the unit runs.
BehaviorTreeName name SetBehaviorTreeName=true BehaviorTreeName Behavior tree run on the unit.
InitFromPlayer bool SetInitFromPlayer=true bInitFromPlayer Reset the behavior tree variables on each run as if the player turn were starting.
SetActionPointCount int SetSetActionPointCount=true SetActionPointCount Standard action points given to the unit before the tree runs.

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.