UGameplayBehaviorsBlueprintFunctionLibrary::StopGameplayBehavior

Will force-stop GameplayBehavior on given Avatar assuming the current behavior is of GameplayBehaviorClass class

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayBehaviorsModule

Header

/Engine/Plugins/Experimental/GameplayBehaviors/Source/GameplayBehaviorsModule/Public/GameplayBehaviorsBlueprintFunctionLibrary.h

Include

#include "GameplayBehaviorsBlueprintFunctionLibrary.h"

Source

/Engine/Plugins/Experimental/GameplayBehaviors/Source/GameplayBehaviorsModule/Private/GameplayBehaviorsBlueprintFunctionLibrary.cpp

Syntax

static bool StopGameplayBehavior
(
    TSubclassOf< UGameplayBehavior > GameplayBehaviorClass,
    AActor * Avatar
)

Remarks

Will force-stop GameplayBehavior on given Avatar assuming the current behavior is of GameplayBehaviorClass class