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

Public Member Functions

float GetGrenadeVisibilityFactor (GenericEntity entity, vector grenadePos)
 
float GetThreatLevelReactionTime (notnull SCR_AIThreatSystem threatSystem)
 
float GetDistanceSQReactionTime (float distanceToGrenade)
 
Faction GetOwnerFaction (SCR_AIUtilityComponent utility)
 
SCR_ChimeraCharacter GetShooterCharacter (notnull IEntity grenadeObject)
 
void AddToGroupPerception (SCR_AIUtilityComponent utility, IEntity shooter, vector observePosition, Faction faction)
 
override bool PerformReaction (notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent, int dangerEventCount)
 
bool PerformReaction (notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent, int dangerEventCount)
 

Static Public Attributes

static const float GRENADE_AVOID_RADIUS = 13
 
static const float GRENADE_AVOID_RADIUS_MIN = 2
 
static const float GRENADE_AVOID_REACT_MIN_TIME_MS = 50
 
static const float GRENADE_AVOID_DIST_REACT_TIME_MS = 2000
 
static const float GRENADE_AVOID_VIS_REACT_TIME_MS = 1100
 
static const float GRENADE_AVOID_DIST_CURVE_PARAM = GRENADE_AVOID_DIST_REACT_TIME_MS / Math.Pow(GRENADE_AVOID_RADIUS - GRENADE_AVOID_RADIUS_MIN, 2)
 

Additional Inherited Members

- Public Attributes inherited from SCR_AIDangerReaction
SCR_EAIDangerEventType m_eType
 

Member Function Documentation

◆ AddToGroupPerception()

void SCR_AIDangerReaction_GrenadeLanding.AddToGroupPerception ( SCR_AIUtilityComponent  utility,
IEntity  shooter,
vector  observePosition,
Faction  faction 
)

◆ GetDistanceSQReactionTime()

float SCR_AIDangerReaction_GrenadeLanding.GetDistanceSQReactionTime ( float  distanceToGrenade)

◆ GetGrenadeVisibilityFactor()

float SCR_AIDangerReaction_GrenadeLanding.GetGrenadeVisibilityFactor ( GenericEntity  entity,
vector  grenadePos 
)

◆ GetOwnerFaction()

Faction SCR_AIDangerReaction_GrenadeLanding.GetOwnerFaction ( SCR_AIUtilityComponent  utility)

◆ GetShooterCharacter()

SCR_ChimeraCharacter SCR_AIDangerReaction_GrenadeLanding.GetShooterCharacter ( notnull IEntity  grenadeObject)

◆ GetThreatLevelReactionTime()

float SCR_AIDangerReaction_GrenadeLanding.GetThreatLevelReactionTime ( notnull SCR_AIThreatSystem  threatSystem)

◆ PerformReaction()

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

Implements SCR_AIDangerReaction.

Member Data Documentation

◆ GRENADE_AVOID_DIST_CURVE_PARAM

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_DIST_CURVE_PARAM = GRENADE_AVOID_DIST_REACT_TIME_MS / Math.Pow(GRENADE_AVOID_RADIUS - GRENADE_AVOID_RADIUS_MIN, 2)
static

◆ GRENADE_AVOID_DIST_REACT_TIME_MS

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_DIST_REACT_TIME_MS = 2000
static

◆ GRENADE_AVOID_RADIUS

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_RADIUS = 13
static

◆ GRENADE_AVOID_RADIUS_MIN

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_RADIUS_MIN = 2
static

◆ GRENADE_AVOID_REACT_MIN_TIME_MS

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_REACT_MIN_TIME_MS = 50
static

◆ GRENADE_AVOID_VIS_REACT_TIME_MS

const float SCR_AIDangerReaction_GrenadeLanding.GRENADE_AVOID_VIS_REACT_TIME_MS = 1100
static

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