UAbilityTask_WaitVelocityChange

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Tasks/AbilityTask_WaitVelocityChange.h"

Syntax

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

Variables

Name Description

Protected variable UProperty

UMovementCompon...

 

CachedMovementComponent

Protected variable

FVector

 

Direction

Protected variable

float

 

MinimumMagnitude

Public variable UProperty BlueprintAssignable

FWaitVelocityCh...

 

OnVelocityChage

Delegate called when velocity requirements are met

Constructors

Name Description

Public function

UAbilityTask_WaitVelocityChange

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

UAbilityTask...

 

CreateWaitVelocityChange

(
    UGameplayAbility* OwningAbilit...,
    FVector Direction,
    float MinimumMagnitude
)

Wait for the actor's movement component velocity to be of minimum magnitude when projected along given direction

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

Public function Virtual

void

 

TickTask

(
    float DeltaTime
)

Tick function for this task, if bTickingTask == true

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