UAbilityTask_WaitInputRelease

Waits until the input is released from activating an ability.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitInputRelease.h

Include

#include "Abilities/Tasks/AbilityTask_WaitInputRelease.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UAbilityTask_WaitInputRelease : public UAbilityTask

Remarks

Waits until the input is released from activating an ability. Clients will replicate a 'release input' event to the server, but not the exact time it was held locally. We expect server to execute this task in parallel and keep its own time.

Variables

Name Description

Protected variable

bool

 

bTestInitialState

Protected variable

FDelegateHandle

 

DelegateHandle

Public variable UProperty BlueprintAssignable

FInputReleaseDe...

 

OnRelease

Protected variable

float

 

StartTime

Constructors

Name Description

Public function

UAbilityTask_WaitInputRelease

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction

void

 

OnReleaseCallback()

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityTask...

 

WaitInputRelease

(
    UGameplayAbility* OwningAbilit...,
    bool bTestAlreadyReleased
)

Wait until the user releases the input button for this ability's activation.

Overridden from UGameplayTask

Name Description

Public function Virtual

void

 

Activate()

Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss