Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIMoveFromDanger.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_AIMoveFromDangerBehavior
 
class  SCR_AIMoveFromUnknownFire
 
class  SCR_AIMoveFromIncomingVehicleBehavior
 

Functions

void SCR_AIMoveFromGrenadeBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity, float behaviorDelay, vector observePosition)
 
void CreateObserveUnknownBehavior ()
 
override void OnActionCompleted ()
 
override float CustomEvaluate ()
 
bool CompleteActionCondition ()
 
SCR_AIMoveFromIncomingVehicleBehavior SCR_AIMoveFromDangerBehavior SCR_AIMoveFromVehicleHornBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity)
 
void SCR_AIMoveFromIncomingVehicleBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity)
 

Variables

SCR_AIMoveFromUnknownFire MAX_GRENADE_LOOKAT_TIMEOUT_MS = 600
 
float m_fBehaviorTimeout = 0
 
float m_fDistanceToGrenade = 0
 
vector m_vObserveReactionPosition
 

Function Documentation

◆ CompleteActionCondition()

bool CompleteActionCondition ( )

Definition at line 164 of file SCR_AIMoveFromDanger.c.

◆ CreateObserveUnknownBehavior()

void CreateObserveUnknownBehavior ( )

Definition at line 110 of file SCR_AIMoveFromDanger.c.

◆ CustomEvaluate()

override float CustomEvaluate ( )

Definition at line 150 of file SCR_AIMoveFromDanger.c.

◆ OnActionCompleted()

override void OnActionCompleted ( )

Definition at line 143 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIMoveFromGrenadeBehavior()

void SCR_AIMoveFromGrenadeBehavior ( SCR_AIUtilityComponent  utility,
SCR_AIActivityBase  groupActivity,
vector  dangerPos,
IEntity  dangerEntity,
float  behaviorDelay,
vector  observePosition 
)

Definition at line 96 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIMoveFromIncomingVehicleBehavior()

void SCR_AIMoveFromVehicleHornBehavior::SCR_AIMoveFromIncomingVehicleBehavior ( SCR_AIUtilityComponent  utility,
SCR_AIActivityBase  groupActivity,
vector  dangerPos,
IEntity  dangerEntity 
)

Definition at line 168 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIMoveFromVehicleHornBehavior()

SCR_AIMoveFromIncomingVehicleBehavior SCR_AIMoveFromDangerBehavior SCR_AIMoveFromVehicleHornBehavior ( SCR_AIUtilityComponent  utility,
SCR_AIActivityBase  groupActivity,
vector  dangerPos,
IEntity  dangerEntity 
)

Definition at line 261 of file SCR_AIMoveFromDanger.c.

Variable Documentation

◆ m_fBehaviorTimeout

float m_fBehaviorTimeout = 0

Definition at line 91 of file SCR_AIMoveFromDanger.c.

◆ m_fDistanceToGrenade

float m_fDistanceToGrenade = 0

Definition at line 92 of file SCR_AIMoveFromDanger.c.

◆ m_vObserveReactionPosition

vector m_vObserveReactionPosition

Definition at line 93 of file SCR_AIMoveFromDanger.c.

◆ MAX_GRENADE_LOOKAT_TIMEOUT_MS

SCR_AIMoveFromUnknownFire MAX_GRENADE_LOOKAT_TIMEOUT_MS = 600