Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Tasks/BTTask_SetTagCooldown.h |
Include |
#include "BehaviorTree/Tasks/BTTask_SetTagCooldown.h" |
class UBTTask_SetTagCooldown : public UBTTaskNode
Cooldown task node. Sets a cooldown tag value. Use with cooldown tag decorators to prevent behavior tree execution.
Name | Description | ||
---|---|---|---|
|
bAddToExistingDuration |
True if we are adding to any existing duration, false if we are setting the duration (potentially invalidating an existing end time). |
|
|
float |
CooldownDuration |
Value we will add or set to the Cooldown tag when this task runs. |
|
CooldownTag |
Gameplay tag that will be used for the cooldown. |
Name | Description | |
---|---|---|
|
UBTTask_SetTagCooldown ( |
Name | Description | ||
---|---|---|---|
|
EBTNodeResul... |
ExecuteTask ( |
Starts this task, should return Succeeded, Failed or InProgress (use FinishLatentTask() when returning InProgress) this function should be considered as const (don't modify state of object) if node is not instanced! |
Name | Description | ||
---|---|---|---|
|
GetNodeIconName() |
Get the name of the icon used to display this node in the editor |
|
|
GetStaticDescription() |