Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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, PerceivableComponent perceivable=null, vector worldPos=vector.Zero, float timestamp=0.0, EAITargetInfoCategory category=0, bool endangering=false, Faction faction=null)
void InitFromBaseTarget (BaseTarget tgt)
void InitFromGunshot (IEntity entity, PerceivableComponent perceivable, vector posWorld, Faction faction, float timestamp, bool endangering)
void UpdateFromBaseTarget (BaseTarget baseTarget)
void UpdateFromGunshot (vector worldPos, float timestamp, bool endangering)
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
bool m_bEndangering
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 141 of file SCR_AITargetInfo.c.

◆ Init()

void Init ( IEntity entity = null,
PerceivableComponent perceivable = null,
vector worldPos = vector.Zero,
float timestamp = 0.0,
EAITargetInfoCategory category = 0,
bool endangering = false,
Faction faction = null )

Definition at line 28 of file SCR_AITargetInfo.c.

◆ InitFromBaseTarget()

void InitFromBaseTarget ( BaseTarget tgt)

Definition at line 77 of file SCR_AITargetInfo.c.

◆ InitFromGunshot()

void InitFromGunshot ( IEntity entity,
PerceivableComponent perceivable,
vector posWorld,
Faction faction,
float timestamp,
bool endangering )

Definition at line 100 of file SCR_AITargetInfo.c.

◆ UpdateFromBaseTarget()

void UpdateFromBaseTarget ( BaseTarget baseTarget)

Definition at line 106 of file SCR_AITargetInfo.c.

◆ UpdateFromGunshot()

void UpdateFromGunshot ( vector worldPos,
float timestamp,
bool endangering )

Definition at line 129 of file SCR_AITargetInfo.c.

Variable Documentation

◆ m_bEndangering

bool m_bEndangering

Definition at line 23 of file SCR_AITargetInfo.c.

◆ m_DamageManager

DamageManagerComponent m_DamageManager

Definition at line 19 of file SCR_AITargetInfo.c.

◆ m_eCategory

EAITargetInfoCategory m_eCategory

Definition at line 25 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.