Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AIPerformSmartUserAction Interface Reference
Inheritance diagram for SCR_AIPerformSmartUserAction:
AITaskScripted AITask Node

Public Member Functions

override TStringArray GetVariablesIn ()
 
override void OnInit (AIAgent owner)
 
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state.
 
override void OnAbort (AIAgent owner, Node nodeCausingAbort)
 
- Public Member Functions inherited from AITaskScripted
void OnEnter (AIAgent owner)
 
- 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)
 

Static Public Attributes

static const string USER_ACTION_PORT = "UserAction"
 
static const string TARGET_ENTITY_PORT = "TargetEntity"
 

Protected Member Functions

void ForceAbortAllActions (AIAgent owner)
 
- Protected Member Functions inherited from AITaskScripted
string GetNodeMiddleText ()
 
- Protected Member Functions inherited from Node
TStringArray GetVariablesOut ()
 

Static Protected Member Functions

static override bool VisibleInPalette ()
 
static override bool CanReturnRunning ()
 
static override string GetOnHoverDescription ()
 

Protected Attributes

string m_sUserAction
 
bool m_bPerformOnAbort
 
bool m_bHasAborted
 

Static Protected Attributes

static ref TStringArray s_aVarsIn
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Member Function Documentation

◆ CanReturnRunning()

static override bool SCR_AIPerformSmartUserAction.CanReturnRunning ( )
staticprotected

Implements Node.

◆ EOnTaskSimulate()

override ENodeResult SCR_AIPerformSmartUserAction.EOnTaskSimulate ( AIAgent owner,
float dt )

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

Implements AITaskScripted.

◆ ForceAbortAllActions()

void SCR_AIPerformSmartUserAction.ForceAbortAllActions ( AIAgent owner)
protected

◆ GetOnHoverDescription()

static override string SCR_AIPerformSmartUserAction.GetOnHoverDescription ( )
staticprotected

Implements Node.

◆ GetVariablesIn()

override TStringArray SCR_AIPerformSmartUserAction.GetVariablesIn ( )

Implements Node.

◆ OnAbort()

override void SCR_AIPerformSmartUserAction.OnAbort ( AIAgent owner,
Node nodeCausingAbort )

Implements AITaskScripted.

◆ OnInit()

override void SCR_AIPerformSmartUserAction.OnInit ( AIAgent owner)

Implements AITaskScripted.

◆ VisibleInPalette()

static override bool SCR_AIPerformSmartUserAction.VisibleInPalette ( )
staticprotected

Implements Node.

Member Data Documentation

◆ m_bHasAborted

bool SCR_AIPerformSmartUserAction.m_bHasAborted
protected

◆ m_bPerformOnAbort

bool SCR_AIPerformSmartUserAction.m_bPerformOnAbort
protected

◆ m_sUserAction

string SCR_AIPerformSmartUserAction.m_sUserAction
protected

◆ s_aVarsIn

ref TStringArray SCR_AIPerformSmartUserAction.s_aVarsIn
staticprotected
Initial value:
= {
}
static string TARGET_ENTITY_PORT
Definition SCR_AIGetFireTimes.c:15
static const string USER_ACTION_PORT
Definition SCR_AIPerformSmartuserAction.c:11

◆ TARGET_ENTITY_PORT

const string SCR_AIPerformSmartUserAction.TARGET_ENTITY_PORT = "TargetEntity"
static

◆ USER_ACTION_PORT

const string SCR_AIPerformSmartUserAction.USER_ACTION_PORT = "UserAction"
static

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