Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
SCR_AIGroupTargetClusterProcessor Interface Reference
Inheritance diagram for SCR_AIGroupTargetClusterProcessor:
[legend]

Public Member Functions

void UpdateCluster (SCR_AIGroupTargetCluster c, SCR_AITargetClusterState s, float deltaTime_ms)
 
EAITargetClusterState EvaluateNewDesiredState (SCR_AITargetClusterState s)
 
void OnLeaveState (SCR_AITargetClusterState s, EAITargetClusterState oldState)
 
void OnEnterState (SCR_AITargetClusterState s, EAITargetClusterState newState)
 
void SwitchToState (SCR_AITargetClusterState s, EAITargetClusterState newState)
 
void AssignActivity (notnull SCR_AITargetClusterState s, notnull SCR_AIActivityBase activity)
 
void UnassignActivity (SCR_AITargetClusterState s)
 
bool HasActivityForState (SCR_AITargetClusterState s, EAITargetClusterState eState)
 
SCR_AIActivityBase TryCreateActivityForState (SCR_AITargetClusterState s, EAITargetClusterState estate, notnull TFireteamLockRefArray inFtsMain, notnull TFireteamLockRefArray inFtsAux)
 
void AllocateMoreFireteams (SCR_AITargetClusterState s, notnull TFireteamLockRefArray inOutFtLocksMain, notnull TFireteamLockRefArray ftLocksAux)
 
void GetAssignedFireteams (notnull SCR_AIFireteamsActivity fromActivity, notnull TFireteamLockRefArray outMainFireteams, notnull TFireteamLockRefArray outAuxFireteams)
 Returns arrays with fireteams already assigned to this cluster, if there are any. Otherwise returns empty arrays.
 
float CalculateMaxAgeThreshold_s (SCR_AITargetClusterState s, EAITargetClusterState newState)
 Calculates how long we should investigate this target cluster.
 
void SCR_AIGroupTargetClusterProcessor (SCR_AIGroupUtilityComponent utility)
 

Public Attributes

ref ScriptInvokerBase< SCR_AITargetClusterStateChanged > m_OnClusterStateChanged = new ScriptInvokerBase<SCR_AITargetClusterStateChanged>()
 

Protected Attributes

SCR_AIGroupUtilityComponent m_Utility
 

Static Protected Attributes

const float INITIAL_DECISION_DELAY_MS = 5000.0
 
const float MAX_CLUSTER_AGE_S = 120.0
 

Constructor & Destructor Documentation

◆ SCR_AIGroupTargetClusterProcessor()

void SCR_AIGroupTargetClusterProcessor.SCR_AIGroupTargetClusterProcessor ( SCR_AIGroupUtilityComponent  utility)

Member Function Documentation

◆ AllocateMoreFireteams()

void SCR_AIGroupTargetClusterProcessor.AllocateMoreFireteams ( SCR_AITargetClusterState  s,
notnull TFireteamLockRefArray  inOutFtLocksMain,
notnull TFireteamLockRefArray  ftLocksAux 
)

◆ AssignActivity()

void SCR_AIGroupTargetClusterProcessor.AssignActivity ( notnull SCR_AITargetClusterState  s,
notnull SCR_AIActivityBase  activity 
)

◆ CalculateMaxAgeThreshold_s()

float SCR_AIGroupTargetClusterProcessor.CalculateMaxAgeThreshold_s ( SCR_AITargetClusterState  s,
EAITargetClusterState  newState 
)

Calculates how long we should investigate this target cluster.

◆ EvaluateNewDesiredState()

EAITargetClusterState SCR_AIGroupTargetClusterProcessor.EvaluateNewDesiredState ( SCR_AITargetClusterState  s)

◆ GetAssignedFireteams()

void SCR_AIGroupTargetClusterProcessor.GetAssignedFireteams ( notnull SCR_AIFireteamsActivity  fromActivity,
notnull TFireteamLockRefArray  outMainFireteams,
notnull TFireteamLockRefArray  outAuxFireteams 
)

Returns arrays with fireteams already assigned to this cluster, if there are any. Otherwise returns empty arrays.

◆ HasActivityForState()

bool SCR_AIGroupTargetClusterProcessor.HasActivityForState ( SCR_AITargetClusterState  s,
EAITargetClusterState  eState 
)

◆ OnEnterState()

void SCR_AIGroupTargetClusterProcessor.OnEnterState ( SCR_AITargetClusterState  s,
EAITargetClusterState  newState 
)

◆ OnLeaveState()

void SCR_AIGroupTargetClusterProcessor.OnLeaveState ( SCR_AITargetClusterState  s,
EAITargetClusterState  oldState 
)

◆ SwitchToState()

void SCR_AIGroupTargetClusterProcessor.SwitchToState ( SCR_AITargetClusterState  s,
EAITargetClusterState  newState 
)

◆ TryCreateActivityForState()

SCR_AIActivityBase SCR_AIGroupTargetClusterProcessor.TryCreateActivityForState ( SCR_AITargetClusterState  s,
EAITargetClusterState  estate,
notnull TFireteamLockRefArray  inFtsMain,
notnull TFireteamLockRefArray  inFtsAux 
)

◆ UnassignActivity()

void SCR_AIGroupTargetClusterProcessor.UnassignActivity ( SCR_AITargetClusterState  s)

◆ UpdateCluster()

void SCR_AIGroupTargetClusterProcessor.UpdateCluster ( SCR_AIGroupTargetCluster  c,
SCR_AITargetClusterState  s,
float  deltaTime_ms 
)

Member Data Documentation

◆ INITIAL_DECISION_DELAY_MS

const float SCR_AIGroupTargetClusterProcessor.INITIAL_DECISION_DELAY_MS = 5000.0
staticprotected

◆ m_OnClusterStateChanged

ref ScriptInvokerBase<SCR_AITargetClusterStateChanged> SCR_AIGroupTargetClusterProcessor.m_OnClusterStateChanged = new ScriptInvokerBase<SCR_AITargetClusterStateChanged>()

◆ m_Utility

SCR_AIGroupUtilityComponent SCR_AIGroupTargetClusterProcessor.m_Utility
protected

◆ MAX_CLUSTER_AGE_S

const float SCR_AIGroupTargetClusterProcessor.MAX_CLUSTER_AGE_S = 120.0
staticprotected

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