|
Space Plunder
|
#include <BTTask_Aim.h>
Public Member Functions | |
| UBTTask_Aim () | |
Public Attributes | |
| bool | bStartAiming = true |
Protected Member Functions | |
| virtual EBTNodeResult::Type | ExecuteTask (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) override |
| virtual FString | GetStaticDescription () const override |
UBTTask_Aim class is a behavior tree task node that aims at a target.
This task aims at a target and can be used in an AI controlled character's behavior tree. It provides the ability to toggle the aiming on or off using the bStartAiming property. The ExecuteTask function performs the aiming logic, while the GetStaticDescription function returns a description of the task. The GetNodeIconName function returns the name of the icon to be displayed for this task.
| UBTTask_Aim::UBTTask_Aim | ( | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| bool UBTTask_Aim::bStartAiming = true |