Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_AICombatTargetGetterTask Interface Reference

Base class for tasks which return some target from combat component. More...

Inheritance diagram for SCR_AICombatTargetGetterTask:
[legend]

Public Member Functions

override bool VisibleInPalette ()
 

Public Attributes

ref SCR_AITargetInfo m_TargetInfo
 

Static Public Attributes

static ref TStringArray s_aVarsOut
 

Protected Member Functions

override void OnInit (AIAgent owner)
 
BaseTarget GetEnemy (SCR_AICombatComponent combatComp)
 Must be overridden in child classes.
 
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
 
ENodeResult Fail ()
 
override TStringArray GetVariablesOut ()
 

Protected Attributes

SCR_AICombatComponent m_CombatComponent
 

Static Protected Attributes

static const string ENEMY_ENTITY_PORT = "EntityOut"
 
static const string ENEMY_LAST_SEEN_POS_PORT = "EntityLastSeenPos"
 
static const string ENEMY_LAST_SEEN_TIME_PORT = "EntityLastSeenTime"
 
static const string ENEMY_TARGET_INFO_PORT = "TargetInfoOut"
 

Detailed Description

Base class for tasks which return some target from combat component.

Member Function Documentation

◆ EOnTaskSimulate()

override ENodeResult SCR_AICombatTargetGetterTask.EOnTaskSimulate ( AIAgent  owner,
float  dt 
)
protected

◆ Fail()

ENodeResult SCR_AICombatTargetGetterTask.Fail ( )
protected

◆ GetEnemy()

BaseTarget SCR_AICombatTargetGetterTask.GetEnemy ( SCR_AICombatComponent  combatComp)
protected

Must be overridden in child classes.

Implemented in SCR_AIGetCurrentEnemy, and SCR_AIGetLastSeenEnemy.

◆ GetVariablesOut()

override TStringArray SCR_AICombatTargetGetterTask.GetVariablesOut ( )
protected

◆ OnInit()

override void SCR_AICombatTargetGetterTask.OnInit ( AIAgent  owner)
protected

◆ VisibleInPalette()

override bool SCR_AICombatTargetGetterTask.VisibleInPalette ( )

Member Data Documentation

◆ ENEMY_ENTITY_PORT

const string SCR_AICombatTargetGetterTask.ENEMY_ENTITY_PORT = "EntityOut"
staticprotected

◆ ENEMY_LAST_SEEN_POS_PORT

const string SCR_AICombatTargetGetterTask.ENEMY_LAST_SEEN_POS_PORT = "EntityLastSeenPos"
staticprotected

◆ ENEMY_LAST_SEEN_TIME_PORT

const string SCR_AICombatTargetGetterTask.ENEMY_LAST_SEEN_TIME_PORT = "EntityLastSeenTime"
staticprotected

◆ ENEMY_TARGET_INFO_PORT

const string SCR_AICombatTargetGetterTask.ENEMY_TARGET_INFO_PORT = "TargetInfoOut"
staticprotected

◆ m_CombatComponent

SCR_AICombatComponent SCR_AICombatTargetGetterTask.m_CombatComponent
protected

◆ m_TargetInfo

ref SCR_AITargetInfo SCR_AICombatTargetGetterTask.m_TargetInfo

◆ s_aVarsOut

ref TStringArray SCR_AICombatTargetGetterTask.s_aVarsOut
static
Initial value:
=
{
}
static const string ENEMY_ENTITY_PORT
Definition: SCR_AICombatTargetGetterTask.c:6
static const string ENEMY_LAST_SEEN_POS_PORT
Definition: SCR_AICombatTargetGetterTask.c:7
static const string ENEMY_TARGET_INFO_PORT
Definition: SCR_AICombatTargetGetterTask.c:9
static const string ENEMY_LAST_SEEN_TIME_PORT
Definition: SCR_AICombatTargetGetterTask.c:8

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