UGameplayAbility::K2_EndAbilityLocally

Call from blueprints to end the ability naturally.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Ability, DisplayName="End Ability Locally",
          Meta=(ScriptName="EndAbilityLocally"))
virtual void K2_EndAbilityLocally()

Remarks

Call from blueprints to end the ability naturally. This will only end predicted abilities locally, allowing it end naturally on the client or server