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

Public Member Functions

void SCR_AITargetClusterState (SCR_AIGroupTargetCluster cluster)
 
void ProcessTargets ()
 Counts targets and saves them in member variables.
 
float GetTimeSinceLastNewInformation ()
 Returns time passed since any new information was received from this cluster You must call ProcessTargets first.
 
vector GetCenterPosition ()
 

Public Attributes

SCR_AIGroupTargetCluster m_Cluster
 
ref SCR_AIActivityBase m_Activity
 
float m_fTimer_ms = 0
 
float m_fMaxAge_s
 
EAITargetClusterState m_eState = EAITargetClusterState.NONE
 
EAITargetClusterState m_ePrevState = EAITargetClusterState.UNINITIALIZED
 
vector m_vBBMax
 
vector m_vBBMin
 
float m_fDistMin
 
float m_fMaxTimestamp
 
int m_iCountDetected
 
int m_iCountIdentified
 
int m_iCountLost
 
int m_iCountDestroyed
 
int m_iCountAlive
 
int m_iCountEndangering
 

Constructor & Destructor Documentation

◆ SCR_AITargetClusterState()

void SCR_AITargetClusterState.SCR_AITargetClusterState ( SCR_AIGroupTargetCluster  cluster)

Member Function Documentation

◆ GetCenterPosition()

vector SCR_AITargetClusterState.GetCenterPosition ( )

◆ GetTimeSinceLastNewInformation()

float SCR_AITargetClusterState.GetTimeSinceLastNewInformation ( )

Returns time passed since any new information was received from this cluster You must call ProcessTargets first.

◆ ProcessTargets()

void SCR_AITargetClusterState.ProcessTargets ( )

Counts targets and saves them in member variables.

Member Data Documentation

◆ m_Activity

ref SCR_AIActivityBase SCR_AITargetClusterState.m_Activity

◆ m_Cluster

SCR_AIGroupTargetCluster SCR_AITargetClusterState.m_Cluster

◆ m_ePrevState

EAITargetClusterState SCR_AITargetClusterState.m_ePrevState = EAITargetClusterState.UNINITIALIZED

◆ m_eState

EAITargetClusterState SCR_AITargetClusterState.m_eState = EAITargetClusterState.NONE

◆ m_fDistMin

float SCR_AITargetClusterState.m_fDistMin

◆ m_fMaxAge_s

float SCR_AITargetClusterState.m_fMaxAge_s

◆ m_fMaxTimestamp

float SCR_AITargetClusterState.m_fMaxTimestamp

◆ m_fTimer_ms

float SCR_AITargetClusterState.m_fTimer_ms = 0

◆ m_iCountAlive

int SCR_AITargetClusterState.m_iCountAlive

◆ m_iCountDestroyed

int SCR_AITargetClusterState.m_iCountDestroyed

◆ m_iCountDetected

int SCR_AITargetClusterState.m_iCountDetected

◆ m_iCountEndangering

int SCR_AITargetClusterState.m_iCountEndangering

◆ m_iCountIdentified

int SCR_AITargetClusterState.m_iCountIdentified

◆ m_iCountLost

int SCR_AITargetClusterState.m_iCountLost

◆ m_vBBMax

vector SCR_AITargetClusterState.m_vBBMax

◆ m_vBBMin

vector SCR_AITargetClusterState.m_vBBMin

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