Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AITargetInfo.c File Reference

Go to the source code of this file.

Enumerations

enum  EAITargetInfoCategory {
  UNKNOWN, DESTROYED, DISARMED, LOST,
  DETECTED, IDENTIFIED
}
 

Functions

void Init (IEntity entity=null, vector worldPos=vector.Zero, float timestamp=0.0, EAITargetInfoCategory category=0)
 
void InitFromBaseTarget (BaseTarget tgt)
 
void InitFromGunshot (IEntity entity, vector posWorld, float timestamp)
 
void UpdateFromBaseTarget (BaseTarget baseTarget)
 
void UpdateFromGunshot (vector worldPos, float timestamp)
 
void CopyFrom (SCR_AITargetInfo other)
 

Variables

enum EAITargetInfoCategory m_Entity
 
Faction m_Faction
 
DamageManagerComponent m_DamageManager
 
PerceivableComponent m_Perceivable
 
vector m_vWorldPos
 
float m_fTimestamp
 
EAITargetInfoCategory m_eCategory
 

Enumeration Type Documentation

◆ EAITargetInfoCategory

Enumerator
UNKNOWN 
DESTROYED 

engine is destroyed

DISARMED 
LOST 
DETECTED 
IDENTIFIED 

Definition at line 1 of file SCR_AITargetInfo.c.

Function Documentation

◆ CopyFrom()

void CopyFrom ( SCR_AITargetInfo  other)

Definition at line 125 of file SCR_AITargetInfo.c.

◆ Init()

void Init ( IEntity  entity = null,
vector  worldPos = vector.Zero,
float  timestamp = 0.0,
EAITargetInfoCategory  category = 0 
)

Definition at line 27 of file SCR_AITargetInfo.c.

◆ InitFromBaseTarget()

void InitFromBaseTarget ( BaseTarget  tgt)

Definition at line 64 of file SCR_AITargetInfo.c.

◆ InitFromGunshot()

void InitFromGunshot ( IEntity  entity,
vector  posWorld,
float  timestamp 
)

Definition at line 86 of file SCR_AITargetInfo.c.

◆ UpdateFromBaseTarget()

void UpdateFromBaseTarget ( BaseTarget  baseTarget)

Definition at line 92 of file SCR_AITargetInfo.c.

◆ UpdateFromGunshot()

void UpdateFromGunshot ( vector  worldPos,
float  timestamp 
)

Definition at line 115 of file SCR_AITargetInfo.c.

Variable Documentation

◆ m_DamageManager

DamageManagerComponent m_DamageManager

Definition at line 19 of file SCR_AITargetInfo.c.

◆ m_eCategory

EAITargetInfoCategory m_eCategory

Definition at line 24 of file SCR_AITargetInfo.c.

◆ m_Entity

enum EAITargetInfoCategory m_Entity

◆ m_Faction

Faction m_Faction

Definition at line 18 of file SCR_AITargetInfo.c.

◆ m_fTimestamp

float m_fTimestamp

Definition at line 22 of file SCR_AITargetInfo.c.

◆ m_Perceivable

PerceivableComponent m_Perceivable

Definition at line 20 of file SCR_AITargetInfo.c.

◆ m_vWorldPos

vector m_vWorldPos

Definition at line 21 of file SCR_AITargetInfo.c.