Space Plunder
Loading...
Searching...
No Matches
BTDecorator_RandomChance.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 "BTDecorator_RandomChance.generated.h"
8
16
UCLASS
()
17
class AITOOLKIT_API
UBTDecorator_RandomChance
: public UBTDecorator
18
{
19
GENERATED_BODY()
20
21
public
:
22
23
UBTDecorator_RandomChance
();
24
25
protected
:
26
27
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=
"AI"
)
28
int32 MaxChance = 1;
29
30
virtual
bool
CalculateRawConditionValue(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) const override;
31
32
virtual FString GetStaticDescription() const override;
33
#if WITH_EDITOR
34
virtual
FName GetNodeIconName()
const override
;
35
#endif
// WITH_EDITOR
36
37
};
UCLASS
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition
ChatSystemComponent.h:13
UBTDecorator_RandomChance
Definition
BTDecorator_RandomChance.h:18
SpaceAdventure
Plugins
AIToolKit
Source
AIToolKit
Public
Behavior
Decotators
BTDecorator_RandomChance.h
Generated by
1.10.0