Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
AITaskScripted Interface Reference
Inheritance diagram for AITaskScripted:
[legend]

Public Member Functions

void OnEnter (AIAgent owner)
 
void OnInit (AIAgent owner)
 
void OnAbort (AIAgent owner, Node nodeCausingAbort)
 
ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
- Public Member Functions inherited from Node
proto external int GetNodeID ()
 
proto external TypeName GetVariableType (bool inputPort, string name)
 
proto bool GetVariableIn (string name, out void val)
 
proto void SetVariableOut (string name, void val)
 
proto void ClearVariable (string name)
 
proto void GetCallstackStr (out string val)
 
proto void GetParentTreeName (out string val)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Protected Member Functions

string GetNodeMiddleText ()
 
- Protected Member Functions inherited from Node
TStringArray GetVariablesIn ()
 
TStringArray GetVariablesOut ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Node
static bool VisibleInPalette ()
 
static string GetOnHoverDescription ()
 
static bool CanReturnRunning ()
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Member Function Documentation

◆ EOnTaskSimulate()

ENodeResult AITaskScripted.EOnTaskSimulate ( AIAgent  owner,
float  dt 
)

Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.

◆ GetNodeMiddleText()

string AITaskScripted.GetNodeMiddleText ( )
protected

◆ OnAbort()

void AITaskScripted.OnAbort ( AIAgent  owner,
Node  nodeCausingAbort 
)

◆ OnEnter()

void AITaskScripted.OnEnter ( AIAgent  owner)

◆ OnInit()

void AITaskScripted.OnInit ( AIAgent  owner)

The documentation for this interface was generated from the following file: