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

Go to the source code of this file.

Data Structures

class  SCR_ScenarioFrameworkSlotAIClass
 
class  SCR_ScenarioFrameworkWaypointSet
 

Functions

SCR_ScenarioFrameworkSlotAIClass SCR_ScenarioFrameworkSlotBaseClass Attribute (desc:"Waypoint Groups if applicable", category:"Waypoints")
 
void SetAIPrefabsForRemoval (array< ResourceName > arrayForRemoval)
 
array< ResourceName > GetAIPrefabsForRemoval ()
 
override void RestoreToDefault (bool includeChildren=false, bool reinitAfterRestoration=false)
 
override void DynamicDespawn (SCR_ScenarioFrameworkLayerBase layer)
 
override void Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
 
override void AfterAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer)
 
void AfterAllAgentsSpawned ()
 
void ActivateAI ()
 
void OnAgentAdded (AIAgent child)
 
protected void InitGroupComponents ()
 
protected void InitWaypoints ()
 
protected void CheckWaypointsAfterInit (SCR_ScenarioFrameworkLayerBase layer)
 
protected void ProcessWaypoints (SCR_ScenarioFrameworkLayerBase layer)
 
protected void SetWaypointToAI (SCR_ScenarioFrameworkLayerBase layer)
 
protected AIWaypoint CreateDefaultWaypoint ()
 
void DecreaseAIGroupMemberCount (SCR_AIGroup group, AIAgent agent)
 
protected bool CreateAIGroup ()
 
void SCR_ScenarioFrameworkSlotAI (IEntityComponentSource src, IEntity ent, IEntity parent)
 
class SCR_ScenarioFrameworkWaypointSet BaseContainerProps ()] class SCR_WaypointSet
 This will remain here for a while until we switch all the waypoints to the SCR_ScenarioFrameworkWaypointSet. More...
 
void Init (AIGroup group, IEntity entity)
 

Variables

Prefabs AI Waypoints AIWaypoint_Defend et
 
Prefabs AI Waypoints AIWaypoint_Defend category
 
bool m_bBalanceOnPlayersCount
 
int m_iMinUnitsInGroup
 
SCR_EAIGroupFormation m_eAIGroupFormation
 
EAISkill m_eAISkill
 
EAICombatType m_eAICombatType
 
float m_fPerceptionFactor
 
ResourceName m_sGroupPrefab
 
ref array< AIWaypoint > m_aWaypoints = {}
 
SCR_AIGroup m_AIGroup
 
ref array< ResourceName > m_aAIPrefabsForRemoval = {}
 
ref array< SCR_ScenarioFrameworkSlotWaypointm_aSlotWaypoints = {}
 
int m_iCurrentlySpawnedWaypoints
 
bool m_bWaypointsInitialized
 
ref array< string > m_aLayerName
 

Function Documentation

◆ ActivateAI()

void ActivateAI ( )

Definition at line 205 of file SCR_ScenarioFrameworkSlotAI.c.

◆ AfterAllAgentsSpawned()

void AfterAllAgentsSpawned ( )

Definition at line 184 of file SCR_ScenarioFrameworkSlotAI.c.

◆ AfterAllChildrenSpawned()

override void AfterAllChildrenSpawned ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 170 of file SCR_ScenarioFrameworkSlotAI.c.

◆ Attribute()

SCR_ScenarioFrameworkSlotAIClass SCR_ScenarioFrameworkSlotBaseClass Attribute ( desc:"Waypoint Groups if applicable"  ,
category:"Waypoints"   
)

Definition at line 8 of file SCR_ScenarioFrameworkSlotAI.c.

◆ BaseContainerProps()

class SCR_ScenarioFrameworkWaypointSet BaseContainerProps ( )

This will remain here for a while until we switch all the waypoints to the SCR_ScenarioFrameworkWaypointSet.

Definition at line 580 of file SCR_ScenarioFrameworkSlotAI.c.

◆ CheckWaypointsAfterInit()

protected void CheckWaypointsAfterInit ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 380 of file SCR_ScenarioFrameworkSlotAI.c.

◆ CreateAIGroup()

protected bool CreateAIGroup ( )

Definition at line 526 of file SCR_ScenarioFrameworkSlotAI.c.

◆ CreateDefaultWaypoint()

protected AIWaypoint CreateDefaultWaypoint ( )

Definition at line 465 of file SCR_ScenarioFrameworkSlotAI.c.

◆ DecreaseAIGroupMemberCount()

void DecreaseAIGroupMemberCount ( SCR_AIGroup  group,
AIAgent  agent 
)
Parameters
[in]group
[in]agent

Definition at line 490 of file SCR_ScenarioFrameworkSlotAI.c.

◆ DynamicDespawn()

override void DynamicDespawn ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 87 of file SCR_ScenarioFrameworkSlotAI.c.

◆ GetAIPrefabsForRemoval()

array<ResourceName> GetAIPrefabsForRemoval ( )
Returns

Definition at line 66 of file SCR_ScenarioFrameworkSlotAI.c.

◆ Init() [1/2]

void BaseContainerProps::Init ( AIGroup  group,
IEntity  entity 
)

Definition at line 563 of file SCR_ScenarioFrameworkSlotAI.c.

◆ Init() [2/2]

override void Init ( SCR_ScenarioFrameworkArea  area = null,
SCR_ScenarioFrameworkEActivationType  activation = SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT 
)

Definition at line 123 of file SCR_ScenarioFrameworkSlotAI.c.

◆ InitGroupComponents()

protected void InitGroupComponents ( )

Definition at line 276 of file SCR_ScenarioFrameworkSlotAI.c.

◆ InitWaypoints()

protected void InitWaypoints ( )

Definition at line 328 of file SCR_ScenarioFrameworkSlotAI.c.

◆ OnAgentAdded()

void OnAgentAdded ( AIAgent  child)

Definition at line 259 of file SCR_ScenarioFrameworkSlotAI.c.

◆ ProcessWaypoints()

protected void ProcessWaypoints ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 409 of file SCR_ScenarioFrameworkSlotAI.c.

◆ RestoreToDefault()

override void RestoreToDefault ( bool  includeChildren = false,
bool  reinitAfterRestoration = false 
)

Definition at line 73 of file SCR_ScenarioFrameworkSlotAI.c.

◆ SCR_ScenarioFrameworkSlotAI()

void SCR_ScenarioFrameworkSlotAI ( IEntityComponentSource  src,
IEntity  ent,
IEntity  parent 
)
Parameters
[in]src
[in]ent
[in]parent

Definition at line 558 of file SCR_ScenarioFrameworkSlotAI.c.

◆ SetAIPrefabsForRemoval()

void SetAIPrefabsForRemoval ( array< ResourceName >  arrayForRemoval)
Parameters
[in]arrayForRemoval

Definition at line 59 of file SCR_ScenarioFrameworkSlotAI.c.

◆ SetWaypointToAI()

protected void SetWaypointToAI ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 419 of file SCR_ScenarioFrameworkSlotAI.c.

Variable Documentation

◆ category

Prefabs AI Waypoints AIWaypoint_Defend category

Definition at line 18 of file SCR_ScenarioFrameworkSlotAI.c.

◆ et

Prefabs AI Waypoints AIWaypoint_Defend et

Definition at line 17 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_aAIPrefabsForRemoval

ref array<ResourceName> m_aAIPrefabsForRemoval = {}

Definition at line 49 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_AIGroup

SCR_AIGroup m_AIGroup

Definition at line 48 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_aLayerName

ref array<string> m_aLayerName

Definition at line 560 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_aSlotWaypoints

ref array<SCR_ScenarioFrameworkSlotWaypoint> m_aSlotWaypoints = {}

Definition at line 51 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_aWaypoints

ref array<AIWaypoint> m_aWaypoints = {}

Definition at line 47 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_bBalanceOnPlayersCount

bool m_bBalanceOnPlayersCount

Definition at line 21 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_bWaypointsInitialized

bool m_bWaypointsInitialized

Definition at line 55 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_eAICombatType

EAICombatType m_eAICombatType

Definition at line 39 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_eAIGroupFormation

SCR_EAIGroupFormation m_eAIGroupFormation

Definition at line 27 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_eAISkill

EAISkill m_eAISkill

Definition at line 36 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_fPerceptionFactor

float m_fPerceptionFactor

Definition at line 42 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_iCurrentlySpawnedWaypoints

int m_iCurrentlySpawnedWaypoints

Definition at line 52 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_iMinUnitsInGroup

int m_iMinUnitsInGroup

Definition at line 24 of file SCR_ScenarioFrameworkSlotAI.c.

◆ m_sGroupPrefab

ResourceName m_sGroupPrefab

Definition at line 45 of file SCR_ScenarioFrameworkSlotAI.c.