Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Enumerations | |
enum | EAITargetClusterState { UNINITIALIZED, NONE, INVESTIGATING, ATTACKING, DEFENDING, LOST } |
Functions | |
void | SCR_AITargetClusterState (SCR_AIGroupTargetCluster cluster) |
void | ProcessTargets () |
Counts targets and saves them in member variables. More... | |
float | GetTimeSinceLastNewInformation () |
vector | GetCenterPosition () |
Variables | |
enum EAITargetClusterState | 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_fRadius |
float | m_fMaxTimestamp |
int | m_iCountDetected |
int | m_iCountIdentified |
int | m_iCountLost |
int | m_iCountDestroyed |
State of cluster which represents our processing of it. ClusterState is persistent, while Cluster objects can be created and deleted during their processing, while ClusterState should be passed between Cluster objects which correspond to same actual cluster of targets.
Enumerator | |
---|---|
UNINITIALIZED | |
NONE | |
INVESTIGATING | |
ATTACKING | |
DEFENDING | |
LOST |
Definition at line 6 of file SCR_AITargetClusterState.c.
vector GetCenterPosition | ( | ) |
Definition at line 109 of file SCR_AITargetClusterState.c.
float GetTimeSinceLastNewInformation | ( | ) |
Returns time passed since any new information was received from this cluster You must call ProcessTargets first
Definition at line 98 of file SCR_AITargetClusterState.c.
void ProcessTargets | ( | ) |
Counts targets and saves them in member variables.
Definition at line 44 of file SCR_AITargetClusterState.c.
void SCR_AITargetClusterState | ( | SCR_AIGroupTargetCluster | cluster | ) |
Definition at line 38 of file SCR_AITargetClusterState.c.
ref SCR_AIActivityBase m_Activity |
Definition at line 21 of file SCR_AITargetClusterState.c.
enum EAITargetClusterState m_Cluster |
EAITargetClusterState m_ePrevState = EAITargetClusterState.UNINITIALIZED |
Definition at line 25 of file SCR_AITargetClusterState.c.
EAITargetClusterState m_eState = EAITargetClusterState.NONE |
Definition at line 24 of file SCR_AITargetClusterState.c.
float m_fMaxAge_s |
Definition at line 23 of file SCR_AITargetClusterState.c.
float m_fMaxTimestamp |
Definition at line 31 of file SCR_AITargetClusterState.c.
float m_fRadius |
Definition at line 30 of file SCR_AITargetClusterState.c.
float m_fTimer_ms = 0 |
Definition at line 22 of file SCR_AITargetClusterState.c.
int m_iCountDestroyed |
Definition at line 35 of file SCR_AITargetClusterState.c.
int m_iCountDetected |
Definition at line 32 of file SCR_AITargetClusterState.c.
int m_iCountIdentified |
Definition at line 33 of file SCR_AITargetClusterState.c.
int m_iCountLost |
Definition at line 34 of file SCR_AITargetClusterState.c.
vector m_vBBMax |
Definition at line 28 of file SCR_AITargetClusterState.c.
vector m_vBBMin |
Definition at line 29 of file SCR_AITargetClusterState.c.