Class BTTask_GameplayTaskBase
Base class for managing gameplay tasks Since AITask doesn't have any kind of success/failed results, default implemenation will only return EBTNode::Succeeded In your ExecuteTask:
- use NewBTAITask() helper to create task
- initialize task with values if needed
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.AIModule
Assembly: UE4DotNet.dll
Syntax
public class BTTask_GameplayTaskBase : BTTaskNode
Remarks
- use StartGameplayTask() helper to execute and get node result
Properties
| Improve this Doc View SourcebWaitForGameplayTask
Declaration
public bool bWaitForGameplayTask { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BTTask_GameplayTaskBase DefaultObject { get; }
Property Value
Type | Description |
---|---|
BTTask_GameplayTaskBase |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BTTask_GameplayTaskBase New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BTTask_GameplayTaskBase |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BTTask_GameplayTaskBase)
Convert from IntPtr to UObject
Declaration
public static implicit operator BTTask_GameplayTaskBase(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BTTask_GameplayTaskBase |