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

Go to the source code of this file.

Data Structures

class  SCR_AIActivitySmokeCoverFeatureCluster
 
class  SCR_AIActivitySmokeCoverFeature
 

Enumerations

enum  SCR_AIActivitySmokeCoverFeatureProperties { NONE = 0, PROTECT_POS = 1, PROTECT_FROM_CLUSTERS = 2 }
 

Functions

float GetCloseTargetPenalty (float distanceToTargetSq)
 
void SCR_AIActivitySmokeCoverFeatureAgent (SCR_ChimeraAIAgent agent, float distanceToTargetSq, bool avoid)
 
void SendMessage (AICommunicationComponent comms, SCR_AIActivityBase activity, vector position, float delay)
 
SCR_AIActivitySmokeCoverFeature SCR_AIActivityFeatureBase GetActivityTargetPosition (SCR_AIActivityBase activity)
 
protected bool IsAgentAvailable (SCR_ChimeraAIAgent agent)
 
protected void GetConsideredAgents (SCR_AIGroupUtilityComponent groupUtility, vector targetPosition, array< AIAgent > avoidAgents, array< AIAgent > excludeAgents, notnull array< ref SCR_AIActivitySmokeCoverFeatureAgent > outConsideredAgents, out int combatReadyAgentsCount)
 
protected void GetClusterBasedSmokePositions (array< ref SCR_AIGroupTargetCluster > targetClusters, vector targetPosition, int maxSmokePositions, out array< vector > smokePositions)
 
bool Execute (notnull SCR_AIGroupUtilityComponent groupUtility, vector targetPosition, SCR_AIActivitySmokeCoverFeatureProperties smokeCoverProperties, notnull array< AIAgent > avoidAgents, notnull array< AIAgent > excludeAgents, SCR_AIActivityBase contextActivity)
 
bool ExecuteForActivity (SCR_AIActivityBase activity)
 
SCR_AIActivitySmokeCoverFeatureProperties GetActivityProperties (SCR_AIActivityBase activity)
 
array< AIAgent > GetActivityAvoidedAgents (SCR_AIActivityBase activity)
 
array< AIAgent > GetActivityExcludedAgents (SCR_AIActivityBase activity)
 

Variables

SCR_AIActivitySmokeCoverFeatureCluster CLOSE_DISTANCE_TRESHOLD_SQ = 11*11
 
SCR_ChimeraAIAgent m_Agent
 
float m_fWeight = 0
 

Enumeration Type Documentation

◆ SCR_AIActivitySmokeCoverFeatureProperties

Enumerator
NONE 

Gadget anim variable.

Manual shifting, manual reverse, manual engine startup, manual persistent handbrake.

Predefined value used when gameplay ends as a result of user action and does not need to be explained.

PROTECT_POS 
PROTECT_FROM_CLUSTERS 

Definition at line 1 of file SCR_AIActivitySmokeCoverFeature.c.

Function Documentation

◆ Execute()

bool GetActivityTargetPosition::Execute ( notnull SCR_AIGroupUtilityComponent  groupUtility,
vector  targetPosition,
SCR_AIActivitySmokeCoverFeatureProperties  smokeCoverProperties,
notnull array< AIAgent >  avoidAgents,
notnull array< AIAgent >  excludeAgents,
SCR_AIActivityBase  contextActivity 
)

Definition at line 199 of file SCR_AIActivitySmokeCoverFeature.c.

◆ ExecuteForActivity()

bool GetActivityTargetPosition::ExecuteForActivity ( SCR_AIActivityBase  activity)

Definition at line 282 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetActivityAvoidedAgents()

override array< AIAgent > GetActivityAvoidedAgents ( SCR_AIActivityBase  activity)

Definition at line 315 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetActivityExcludedAgents()

override array< AIAgent > GetActivityExcludedAgents ( SCR_AIActivityBase  activity)

Definition at line 323 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetActivityProperties()

override SCR_AIActivitySmokeCoverFeatureProperties GetActivityProperties ( SCR_AIActivityBase  activity)

Definition at line 307 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetActivityTargetPosition()

Definition at line 343 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetCloseTargetPenalty()

float GetCloseTargetPenalty ( float  distanceToTargetSq)

Definition at line 49 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetClusterBasedSmokePositions()

protected void GetActivityTargetPosition::GetClusterBasedSmokePositions ( array< ref SCR_AIGroupTargetCluster targetClusters,
vector  targetPosition,
int  maxSmokePositions,
out array< vector >  smokePositions 
)

Definition at line 126 of file SCR_AIActivitySmokeCoverFeature.c.

◆ GetConsideredAgents()

protected void GetActivityTargetPosition::GetConsideredAgents ( SCR_AIGroupUtilityComponent  groupUtility,
vector  targetPosition,
array< AIAgent >  avoidAgents,
array< AIAgent >  excludeAgents,
notnull array< ref SCR_AIActivitySmokeCoverFeatureAgent outConsideredAgents,
out int  combatReadyAgentsCount 
)

Definition at line 93 of file SCR_AIActivitySmokeCoverFeature.c.

◆ IsAgentAvailable()

protected bool GetActivityTargetPosition::IsAgentAvailable ( SCR_ChimeraAIAgent  agent)

Definition at line 83 of file SCR_AIActivitySmokeCoverFeature.c.

◆ SCR_AIActivitySmokeCoverFeatureAgent()

void SCR_AIActivitySmokeCoverFeatureAgent ( SCR_ChimeraAIAgent  agent,
float  distanceToTargetSq,
bool  avoid 
)

Definition at line 54 of file SCR_AIActivitySmokeCoverFeature.c.

◆ SendMessage()

void SendMessage ( AICommunicationComponent  comms,
SCR_AIActivityBase  activity,
vector  position,
float  delay 
)

Definition at line 77 of file SCR_AIActivitySmokeCoverFeature.c.

Variable Documentation

◆ CLOSE_DISTANCE_TRESHOLD_SQ

SCR_AIActivitySmokeCoverFeatureCluster CLOSE_DISTANCE_TRESHOLD_SQ = 11*11

◆ m_Agent

Definition at line 42 of file SCR_AIActivitySmokeCoverFeature.c.

◆ m_fWeight

float m_fWeight = 0

Definition at line 46 of file SCR_AIActivitySmokeCoverFeature.c.