Enfusion Script API
|
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 = {} |
ENodeResult AITaskScripted.EOnTaskSimulate | ( | AIAgent | owner, |
float | dt | ||
) |
Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
|
protected |
void AITaskScripted.OnEnter | ( | AIAgent | owner | ) |
void AITaskScripted.OnInit | ( | AIAgent | owner | ) |