AbilitySystem.PlayMontage.AggressiveEndTask
AbilitySystem.PlayMontage.AggressiveEndTask
#Overview
name: AbilitySystem.PlayMontage.AggressiveEndTask
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
This should be set to true in order to avoid multiple callbacks off an AbilityTask_PlayMontageAndWait node
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask_PlayMontageAndWait.cpp:10
Scope: file
Source code excerpt:
static bool GUseAggressivePlayMontageAndWaitEndTask = true;
static FAutoConsoleVariableRef CVarAggressivePlayMontageAndWaitEndTask(TEXT("AbilitySystem.PlayMontage.AggressiveEndTask"), GUseAggressivePlayMontageAndWaitEndTask, TEXT("This should be set to true in order to avoid multiple callbacks off an AbilityTask_PlayMontageAndWait node"));
void UAbilityTask_PlayMontageAndWait::OnMontageBlendingOut(UAnimMontage* Montage, bool bInterrupted)
{
const bool bPlayingThisMontage = (Montage == MontageToPlay) && Ability && Ability->GetCurrentMontage() == MontageToPlay;
if (bPlayingThisMontage)
{