Class PawnAction
Things to remember:
Inheritance
System.Object
PawnAction
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 PawnAction : UObject
Remarks
- Actions are created paused
Properties
| Improve this Doc View SourcebAllowNewSameClassInstance
Declaration
public bool bAllowNewSameClassInstance { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
bAlwaysNotifyOnFinished
Declaration
public bool bAlwaysNotifyOnFinished { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BrainComp
@Note: THIS IS HERE ONLY BECAUSE OF THE WAY AI MESSAGING IS CURRENTLY IMPLEMENTED. WILL GO AWAY!
Declaration
public BrainComponent BrainComp { get; set; }
Property Value
Type | Description |
---|---|
BrainComponent |
bReplaceActiveSameClassInstance
Declaration
public bool bReplaceActiveSameClassInstance { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bShouldPauseMovement
Declaration
public bool bShouldPauseMovement { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ChildAction
Current child node executing on top of this Action
Declaration
public PawnAction ChildAction { get; set; }
Property Value
Type | Description |
---|---|
PawnAction |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PawnAction DefaultObject { get; }
Property Value
Type | Description |
---|---|
PawnAction |
Instigator
indicates an object that caused this action.
Declaration
public UObject Instigator { get; set; }
Property Value
Type | Description |
---|---|
UObject |
Remarks
Used for mass removal of actions by specific object
OwnerComponent
Extra reference to the component this action is being governed by
Declaration
public PawnActionsComponent OwnerComponent { get; set; }
Property Value
Type | Description |
---|---|
PawnActionsComponent |
ParentAction
Parent Action
Declaration
public PawnAction ParentAction { get; set; }
Property Value
Type | Description |
---|---|
PawnAction |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceCreateActionInstance(UObject, SubclassOf<PawnAction>)
Create Action Instance
Declaration
public static PawnAction CreateActionInstance(UObject WorldContextObject, SubclassOf<PawnAction> ActionClass)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
SubclassOf<PawnAction> | ActionClass |
Returns
Type | Description |
---|---|
PawnAction |
Finish(Byte)
Finish
Declaration
public void Finish(byte WithResult)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | WithResult |
GetActionPriority()
Blueprint interface
Declaration
public byte GetActionPriority()
Returns
Type | Description |
---|---|
System.Byte |
New(UObject, Name)
Spawn an object of this class
Declaration
public static PawnAction New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
PawnAction |
Operators
| Improve this Doc View SourceImplicit(IntPtr to PawnAction)
Convert from IntPtr to UObject
Declaration
public static implicit operator PawnAction(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
PawnAction |