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

Public Member Functions

override void OnEnter (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)
 
void OnItemUseBegan (IEntity item, ItemUseParameters animParams)
 
void OnItemUseEnded (IEntity item, bool actionCompleted, ItemUseParameters animParams)
 
override TStringArray GetVariablesIn ()
 
- Public Member Functions inherited from AITaskScripted
void OnInit (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 Member Functions

static override bool CanReturnRunning ()
 

Protected Member Functions

void GetActions (IEntity targetEntity, notnull out array< BaseUserAction > outActions)
 
ECharacterHitZoneGroup GetTargetGroup (IEntity targetEntity)
 
- 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 string GetOnHoverDescription ()
 

Protected Attributes

TypeName m_sUserAction
 
IEntity m_targetEntity
 
IEntity m_item
 
SCR_CharacterControllerComponent m_targetContrComp
 
bool m_bAborted
 
string m_userActionString
 

Static Protected Attributes

const float TIME_OF_HEALING_MS = 12000.0
 
const string PORT_USER_ACTION = "UserAction"
 
const string PORT_TARGET_ENTITY = "TargetEntity"
 
const string PORT_ITEM = "ItemToUse"
 
static ref TStringArray s_aVarsIn
 
- Static Protected Attributes inherited from Node
static ref TStringArray m_aEmptyVars = {}
 

Member Function Documentation

◆ CanReturnRunning()

static override bool SCR_AIPerformSmartHealing.CanReturnRunning ( )
static

Implements Node.

◆ EOnTaskSimulate()

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

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

Implements AITaskScripted.

◆ GetActions()

void SCR_AIPerformSmartHealing.GetActions ( IEntity targetEntity,
notnull out array< BaseUserAction > outActions )
protected

◆ GetOnHoverDescription()

static override string SCR_AIPerformSmartHealing.GetOnHoverDescription ( )
staticprotected

Implements Node.

◆ GetTargetGroup()

ECharacterHitZoneGroup SCR_AIPerformSmartHealing.GetTargetGroup ( IEntity targetEntity)
protected

◆ GetVariablesIn()

override TStringArray SCR_AIPerformSmartHealing.GetVariablesIn ( )

Implements Node.

◆ OnAbort()

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

Implements AITaskScripted.

◆ OnEnter()

override void SCR_AIPerformSmartHealing.OnEnter ( AIAgent owner)

Implements AITaskScripted.

◆ OnItemUseBegan()

void SCR_AIPerformSmartHealing.OnItemUseBegan ( IEntity item,
ItemUseParameters animParams )

◆ OnItemUseEnded()

void SCR_AIPerformSmartHealing.OnItemUseEnded ( IEntity item,
bool actionCompleted,
ItemUseParameters animParams )

◆ VisibleInPalette()

static override bool SCR_AIPerformSmartHealing.VisibleInPalette ( )
staticprotected

Implements Node.

Member Data Documentation

◆ m_bAborted

bool SCR_AIPerformSmartHealing.m_bAborted
protected

◆ m_item

IEntity SCR_AIPerformSmartHealing.m_item
protected

◆ m_sUserAction

TypeName SCR_AIPerformSmartHealing.m_sUserAction
protected

◆ m_targetContrComp

SCR_CharacterControllerComponent SCR_AIPerformSmartHealing.m_targetContrComp
protected

◆ m_targetEntity

IEntity SCR_AIPerformSmartHealing.m_targetEntity
protected

◆ m_userActionString

string SCR_AIPerformSmartHealing.m_userActionString
protected

◆ PORT_ITEM

const string SCR_AIPerformSmartHealing.PORT_ITEM = "ItemToUse"
staticprotected

◆ PORT_TARGET_ENTITY

const string SCR_AIPerformSmartHealing.PORT_TARGET_ENTITY = "TargetEntity"
staticprotected

◆ PORT_USER_ACTION

const string SCR_AIPerformSmartHealing.PORT_USER_ACTION = "UserAction"
staticprotected

◆ s_aVarsIn

ref TStringArray SCR_AIPerformSmartHealing.s_aVarsIn
staticprotected
Initial value:
= {
}
const string PORT_USER_ACTION
Definition SCR_AIPerformSmartHealing.c:11
const string PORT_TARGET_ENTITY
Definition SCR_AIPerformSmartHealing.c:12
const string PORT_ITEM
Definition SCR_AIPerformSmartHealing.c:13

◆ TIME_OF_HEALING_MS

const float SCR_AIPerformSmartHealing.TIME_OF_HEALING_MS = 12000.0
staticprotected

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