Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Protected Attributes | List of all members
SCR_AIDangerReaction_WeaponFired Interface Reference
Inheritance diagram for SCR_AIDangerReaction_WeaponFired:
[legend]

Public Member Functions

override bool PerformReaction (notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent, int dangerEventCount)
 
void NotifyGroup (AIGroup group, IEntity shooterEntity, IEntity instigatorEntity, Faction faction, vector posWorld, bool endangering)
 
IEntity FindInstigatorEntity (IEntity entity)
 
bool IsFlyby (vector myPos, vector shotPos, vector shotDir, float distance)
 
bool PerformReaction (notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent, int dangerEventCount)
 

Static Protected Attributes

static const float PROJECTILE_FLYBY_RADIUS = 13
 
static const float PROJECTILE_FLYBY_RADIUS_SQ = PROJECTILE_FLYBY_RADIUS * PROJECTILE_FLYBY_RADIUS
 
static const float AUDIBLE_DISTANCE_NORMAL = 500.0
 
static const float AUDIBLE_DISTANCE_SUPPRESSED = 100.0
 

Additional Inherited Members

- Public Attributes inherited from SCR_AIDangerReaction
SCR_EAIDangerEventType m_eType
 

Member Function Documentation

◆ FindInstigatorEntity()

IEntity SCR_AIDangerReaction_WeaponFired.FindInstigatorEntity ( IEntity  entity)

◆ IsFlyby()

bool SCR_AIDangerReaction_WeaponFired.IsFlyby ( vector  myPos,
vector  shotPos,
vector  shotDir,
float  distance 
)

◆ NotifyGroup()

void SCR_AIDangerReaction_WeaponFired.NotifyGroup ( AIGroup  group,
IEntity  shooterEntity,
IEntity  instigatorEntity,
Faction  faction,
vector  posWorld,
bool  endangering 
)

◆ PerformReaction()

override bool SCR_AIDangerReaction_WeaponFired.PerformReaction ( notnull SCR_AIUtilityComponent  utility,
notnull SCR_AIThreatSystem  threatSystem,
AIDangerEvent  dangerEvent,
int  dangerEventCount 
)

Implements SCR_AIDangerReaction.

Member Data Documentation

◆ AUDIBLE_DISTANCE_NORMAL

const float SCR_AIDangerReaction_WeaponFired.AUDIBLE_DISTANCE_NORMAL = 500.0
staticprotected

◆ AUDIBLE_DISTANCE_SUPPRESSED

const float SCR_AIDangerReaction_WeaponFired.AUDIBLE_DISTANCE_SUPPRESSED = 100.0
staticprotected

◆ PROJECTILE_FLYBY_RADIUS

const float SCR_AIDangerReaction_WeaponFired.PROJECTILE_FLYBY_RADIUS = 13
staticprotected

◆ PROJECTILE_FLYBY_RADIUS_SQ

const float SCR_AIDangerReaction_WeaponFired.PROJECTILE_FLYBY_RADIUS_SQ = PROJECTILE_FLYBY_RADIUS * PROJECTILE_FLYBY_RADIUS
staticprotected

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