Class BTDecorator_BlueprintBase
Base class for blueprint based decorator nodes.
Inherited Members
Namespace: UE4.AIModule
Assembly: UE4DotNet.dll
Syntax
public class BTDecorator_BlueprintBase : BTDecorator
Remarks
Do NOT use it for creating native c++ classes!
Unlike task and services, decorator have two execution chains: ExecutionStart-ExecutionFinish and ObserverActivated-ObserverDeactivated which makes automatic latent action cleanup impossible. Keep in mind, that you HAVE TO verify is given chain is still active after resuming from any latent action (like Delay, Timelines, etc).
Helper functions:
- IsDecoratorExecutionActive (true after ExecutionStart, until ExecutionFinish)
- IsDecoratorObserverActive (true after ObserverActivated, until ObserverDeactivated)
Properties
| Improve this Doc View SourceActorOwner
Cached AIController owner of BehaviorTreeComponent.
Declaration
public Actor ActorOwner { get; set; }
Property Value
Type | Description |
---|---|
Actor |
AIOwner
Cached AIController owner of BehaviorTreeComponent.
Declaration
public AIController AIOwner { get; set; }
Property Value
Type | Description |
---|---|
AIController |
bCheckConditionOnlyBlackBoardChanges
Declaration
public bool bCheckConditionOnlyBlackBoardChanges { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bIsObservingBB
Declaration
public bool bIsObservingBB { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bShowPropertyDetails
Declaration
public bool bShowPropertyDetails { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BTDecorator_BlueprintBase DefaultObject { get; }
Property Value
Type | Description |
---|---|
BTDecorator_BlueprintBase |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceIsDecoratorExecutionActive()
check if decorator is part of currently active branch
Declaration
public bool IsDecoratorExecutionActive()
Returns
Type | Description |
---|---|
System.Boolean |
IsDecoratorObserverActive()
check if decorator's observer is currently active
Declaration
public bool IsDecoratorObserverActive()
Returns
Type | Description |
---|---|
System.Boolean |
New(UObject, Name)
Spawn an object of this class
Declaration
public static BTDecorator_BlueprintBase New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BTDecorator_BlueprintBase |
Events
| Improve this Doc View SourcePerformConditionCheck
called when testing if underlying node can be executed, must call FinishConditionCheck @
Declaration
public event BTDecorator_BlueprintBase.PerformConditionCheck_delegate PerformConditionCheck
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.PerformConditionCheck_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
PerformConditionCheckAI
Alternative AI version of ReceiveConditionCheck @
Declaration
public event BTDecorator_BlueprintBase.PerformConditionCheckAI_delegate PerformConditionCheckAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.PerformConditionCheckAI_delegate |
Remarks
see ReceiveConditionCheck for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveExecutionFinish
called when execution of underlying node is finished @
Declaration
public event BTDecorator_BlueprintBase.ReceiveExecutionFinish_delegate ReceiveExecutionFinish
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveExecutionFinish_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveExecutionFinishAI
Alternative AI version of ReceiveExecutionFinish @
Declaration
public event BTDecorator_BlueprintBase.ReceiveExecutionFinishAI_delegate ReceiveExecutionFinishAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveExecutionFinishAI_delegate |
Remarks
see ReceiveExecutionFinish for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveExecutionStart
called on execution of underlying node @
Declaration
public event BTDecorator_BlueprintBase.ReceiveExecutionStart_delegate ReceiveExecutionStart
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveExecutionStart_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveExecutionStartAI
Alternative AI version of ReceiveExecutionStart @
Declaration
public event BTDecorator_BlueprintBase.ReceiveExecutionStartAI_delegate ReceiveExecutionStartAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveExecutionStartAI_delegate |
Remarks
see ReceiveExecutionStart for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveObserverActivated
called when observer is activated (flow controller) @
Declaration
public event BTDecorator_BlueprintBase.ReceiveObserverActivated_delegate ReceiveObserverActivated
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveObserverActivated_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveObserverActivatedAI
Alternative AI version of ReceiveObserverActivated @
Declaration
public event BTDecorator_BlueprintBase.ReceiveObserverActivatedAI_delegate ReceiveObserverActivatedAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveObserverActivatedAI_delegate |
Remarks
see ReceiveObserverActivated for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveObserverDeactivated
called when observer is deactivated (flow controller) @
Declaration
public event BTDecorator_BlueprintBase.ReceiveObserverDeactivated_delegate ReceiveObserverDeactivated
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveObserverDeactivated_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveObserverDeactivatedAI
Alternative AI version of ReceiveObserverDeactivated @
Declaration
public event BTDecorator_BlueprintBase.ReceiveObserverDeactivatedAI_delegate ReceiveObserverDeactivatedAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveObserverDeactivatedAI_delegate |
Remarks
see ReceiveObserverDeactivated for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveTick
tick function @
Declaration
public event BTDecorator_BlueprintBase.ReceiveTick_delegate ReceiveTick
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveTick_delegate |
Remarks
Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
ReceiveTickAI
Alternative AI version of ReceiveTick @
Declaration
public event BTDecorator_BlueprintBase.ReceiveTickAI_delegate ReceiveTickAI
Event Type
Type | Description |
---|---|
BTDecorator_BlueprintBase.ReceiveTickAI_delegate |
Remarks
see ReceiveTick for more details @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
Operators
| Improve this Doc View SourceImplicit(IntPtr to BTDecorator_BlueprintBase)
Convert from IntPtr to UObject
Declaration
public static implicit operator BTDecorator_BlueprintBase(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BTDecorator_BlueprintBase |