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

Public Member 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)
 

Public Attributes

IEntity m_Entity
 
Faction m_Faction
 
DamageManagerComponent m_DamageManager
 
PerceivableComponent m_Perceivable
 
vector m_vWorldPos
 
float m_fTimestamp
 
bool m_bEndangering
 
EAITargetInfoCategory m_eCategory
 

Member Function Documentation

◆ CopyFrom()

void SCR_AITargetInfo.CopyFrom ( SCR_AITargetInfo  other)

◆ Init()

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

◆ InitFromBaseTarget()

void SCR_AITargetInfo.InitFromBaseTarget ( BaseTarget  tgt)

◆ InitFromGunshot()

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

◆ UpdateFromBaseTarget()

void SCR_AITargetInfo.UpdateFromBaseTarget ( BaseTarget  baseTarget)

◆ UpdateFromGunshot()

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

Member Data Documentation

◆ m_bEndangering

bool SCR_AITargetInfo.m_bEndangering

◆ m_DamageManager

DamageManagerComponent SCR_AITargetInfo.m_DamageManager

◆ m_eCategory

EAITargetInfoCategory SCR_AITargetInfo.m_eCategory

◆ m_Entity

IEntity SCR_AITargetInfo.m_Entity

◆ m_Faction

Faction SCR_AITargetInfo.m_Faction

◆ m_fTimestamp

float SCR_AITargetInfo.m_fTimestamp

◆ m_Perceivable

PerceivableComponent SCR_AITargetInfo.m_Perceivable

◆ m_vWorldPos

vector SCR_AITargetInfo.m_vWorldPos

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