document.write("
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "AbilityTask_MoveCharacterToLocation.h"
#include "AbilityTask_MoveCharacterToPoint.generated.h"
/**
* Specialized version of the MoveCharacterToLocation Task that enables a specific point to be passed in as the
* TargetLocation.
*/
UCLASS()
class DANDELION_API UAbilityTask_MoveCharacterToPoint : public UAbilityTask_MoveCharacterToLocation
{
GENERATED_BODY()
public:
/**
* Static constructor. Initializes cached references when called.
* @param OwningAbility The GA that initiated this task.
* @param TaskInstanceName The name of this task.
* @param InTargetLocation The world location this task should move the character to.
* @return A newly instantiated and initialized UAbilityTask_MoveCharacterToPoint.
*/
UFUNCTION(
BlueprintCallable,
Category = "Ability|Tasks",
meta = (HidePin = "OwningAbility", DefaultToSelf = "OwningAbility", BlueprintInternalUseOnly = "TRUE")
)
static UAbilityTask_MoveCharacterToPoint* MoveCharacterToPoint(
UDandelionGameplayAbility* OwningAbility,
const FName TaskInstanceName,
const FVector InTargetLocation
);
};
AbilityTask_MoveCharacterToPoint.h - Snippet hosted by \"Cacher\"
");