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

Go to the source code of this file.

Data Structures

class  SCR_ScenarioFrameworkQRFSlotAIClass
 

Functions

SCR_ScenarioFrameworkQRFSlotAIClass SCR_ScenarioFrameworkSlotAIClass Attribute (SCR_EQRFGroupType.INFANTRY.ToString(), UIWidgets.Flags, desc:"For which group types this spawn point is meant to be used", enums:ParamEnumArray.FromEnum(SCR_EQRFGroupType))] protected int m_iGroupType
 
int GetGroupType ()
 Getter for type of groups that are intended to be spawned with this slot. More...
 
array< ref SCR_QRFSpawnSafeZoneGetSpawnSafeZones ()
 Getter for an array of configs defining group types and their respective distances to nearest observers. More...
 
void SetObjectToSpawn (ResourceName newObjectPrefab)
 
int GetNumberOfExistingWaypoints ()
 Getter that returns number of existing waypoints for the entity that was the last one to be spawned. More...
 
void ClearWaypoints (bool deleteWaypointEntities=false)
 Clears both array of queued waypoint configs and waypoints entities with option to delete them. More...
 
AIWaypoint CreateWaypoint (vector position, ResourceName wpPrefab)
 Creation of waypoint entity and storing of waypoint information for dynamic respawn of this slot. More...
 
protected AIWaypoint SpawnWaypoint (vector position, ResourceName wpPrefab)
 Creation and storage of waypoint entity. More...
 
protected void ProcessQueuedWaypoints (SCR_ScenarioFrameworkLayerBase layer)
 Creation and assignment of queued waypoints after this slot is dynamically respawned. More...
 
override void Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
 
protected override void SetWaypointToAI (SCR_ScenarioFrameworkLayerBase layer)
 

Variables

protected ref array< ref SCR_QRFSpawnSafeZonem_aSCR_QRFSpawnSafeZone
 
protected ref array< ref SCR_QRFWaypointConfigm_aQRFWaypoints = {}
 

Function Documentation

◆ Attribute()

SCR_ScenarioFrameworkQRFSlotAIClass SCR_ScenarioFrameworkSlotAIClass Attribute ( SCR_EQRFGroupType.INFANTRY.  ToString(),
UIWidgets.  Flags,
desc:"For which group types this spawn point is meant to be used"  ,
enums:ParamEnumArray.  FromEnumSCR_EQRFGroupType 
)

◆ ClearWaypoints()

void ClearWaypoints ( bool  deleteWaypointEntities = false)

Clears both array of queued waypoint configs and waypoints entities with option to delete them.

Definition at line 46 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ CreateWaypoint()

AIWaypoint CreateWaypoint ( vector  position,
ResourceName  wpPrefab 
)

Creation of waypoint entity and storing of waypoint information for dynamic respawn of this slot.

Definition at line 61 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ GetNumberOfExistingWaypoints()

int GetNumberOfExistingWaypoints ( )

Getter that returns number of existing waypoints for the entity that was the last one to be spawned.

Definition at line 39 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ GetSpawnSafeZones()

array<ref SCR_QRFSpawnSafeZone> GetSpawnSafeZones ( )

Getter for an array of configs defining group types and their respective distances to nearest observers.

Definition at line 25 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ Init()

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

Definition at line 121 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ ProcessQueuedWaypoints()

protected void ProcessQueuedWaypoints ( SCR_ScenarioFrameworkLayerBase  layer)

Creation and assignment of queued waypoints after this slot is dynamically respawned.

Definition at line 94 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ SetObjectToSpawn()

void SetObjectToSpawn ( ResourceName  newObjectPrefab)

Definition at line 31 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ SetWaypointToAI()

protected override void SetWaypointToAI ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 132 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ SpawnWaypoint()

protected AIWaypoint SpawnWaypoint ( vector  position,
ResourceName  wpPrefab 
)

Creation and storage of waypoint entity.

Definition at line 73 of file SCR_ScenarioFrameworkQRFSlotAI.c.

Variable Documentation

◆ m_aQRFWaypoints

protected ref array<ref SCR_QRFWaypointConfig> m_aQRFWaypoints = {}

Definition at line 14 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ m_aSCR_QRFSpawnSafeZone

protected ref array<ref SCR_QRFSpawnSafeZone> m_aSCR_QRFSpawnSafeZone

Definition at line 12 of file SCR_ScenarioFrameworkQRFSlotAI.c.