|
override bool | PerformReaction (notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent, int dangerEventCount) |
|
void | OnGunshotHeard (notnull SCR_AIUtilityComponent utility, float distance, int dangerEventCount, vector pos) |
|
void | OnProjectileFlyby (notnull SCR_AIUtilityComponent utility, int dangerEventCount, vector pos) |
|
void | NotifyGroup (AIGroup group, IEntity shooterEntity, IEntity instigatorEntity, Faction faction, vector posWorld, bool endangering) |
|
bool | IsFlyby (vector myPos, vector shotPos, vector shotDir, float distance) |
|
◆ 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 ) |
◆ OnGunshotHeard()
void SCR_AIDangerReaction_WeaponFired.OnGunshotHeard |
( |
notnull SCR_AIUtilityComponent | utility, |
|
|
float | distance, |
|
|
int | dangerEventCount, |
|
|
vector | pos ) |
◆ OnProjectileFlyby()
void SCR_AIDangerReaction_WeaponFired.OnProjectileFlyby |
( |
notnull SCR_AIUtilityComponent | utility, |
|
|
int | dangerEventCount, |
|
|
vector | pos ) |
◆ PerformReaction()
◆ 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 |
◆ ENDANGERING_FOR_GROUP_RADIUS
const float SCR_AIDangerReaction_WeaponFired.ENDANGERING_FOR_GROUP_RADIUS = 15 |
|
staticprotected |
◆ PROJECTILE_FLYBY_DELAY_S
const float SCR_AIDangerReaction_WeaponFired.PROJECTILE_FLYBY_DELAY_S = 0.05 |
|
staticprotected |
◆ PROJECTILE_FLYBY_RADIUS
const float SCR_AIDangerReaction_WeaponFired.PROJECTILE_FLYBY_RADIUS = 13 |
|
staticprotected |
◆ PROJECTILE_FLYBY_RADIUS_SQ
◆ SOUND_SPEED_MS
const float SCR_AIDangerReaction_WeaponFired.SOUND_SPEED_MS = 343.0 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/AI/Reaction/Danger/SCR_AIDangerReaction_WeaponFired.c