Space Plunder
Loading...
Searching...
No Matches
BTD_DistanceVertical.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "BehaviorTree/BTDecorator.h"
7#include "BTD_DistanceVertical.generated.h"
8
16UCLASS()
17class AITOOLKIT_API UBTD_DistanceVertical : public UBTDecorator
18{
19 GENERATED_BODY()
20
21public:
23
24protected:
25
26 virtual FString GetStaticDescription() const override;
27#if WITH_EDITOR
28 virtual FName GetNodeIconName() const override;
29#endif // WITH_EDITOR
30
31 //- Can be AActor or FVector Location //
32 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI")
33 FBlackboardKeySelector TargetActor;
34 //- if Height difference is over x = true //
35 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI")
36 float MinHeightDifference = 50.0f;
37
38 virtual bool CalculateRawConditionValue(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) const override;
39
40};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
A decorator node that evaluates if the vertical distance between the AI agent and a target actor or l...
Definition BTD_DistanceVertical.h:18