Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkQRFSlotAI.c File Reference

Go to the source code of this file.

Classes

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.
array< ref SCR_QRFSpawnSafeZoneGetSpawnSafeZones ()
 Getter for an array of configs defining group types and their respective distances to nearest observers.
void SetObjectToSpawn (ResourceName newObjectPrefab)
int GetNumberOfExistingWaypoints ()
 Getter that returns number of existing waypoints for the entity that was the last one to be spawned.
void ClearWaypoints (bool deleteWaypointEntities=false)
 Clears both array of queued waypoint configs and waypoints entities with option to delete them.
AIWaypoint CreateWaypoint (vector position, ResourceName wpPrefab)
 Creation of waypoint entity and storing of waypoint information for dynamic respawn of this slot.
AIWaypoint SpawnWaypoint (vector position, ResourceName wpPrefab)
 Creation and storage of waypoint entity.
void ProcessQueuedWaypoints (SCR_ScenarioFrameworkLayerBase layer)
 Creation and assignment of queued waypoints after this slot is dynamically respawned.
override bool InitOtherThings ()
override void SetWaypointToAI (SCR_ScenarioFrameworkLayerBase layer)

Variables

ref array< ref SCR_QRFSpawnSafeZonem_aSCR_QRFSpawnSafeZone
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)
protected

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 )
protected

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

Definition at line 61 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ GetGroupType()

int GetGroupType ( )
protected

Getter for type of groups that are intended to be spawned with this slot.

Definition at line 18 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ GetNumberOfExistingWaypoints()

int GetNumberOfExistingWaypoints ( )
protected

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 ( )
protected

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.

◆ InitOtherThings()

override bool InitOtherThings ( )
protected

Checks for QRF Waypoints for Queue processing

Returns
true if all initialization steps succeed, false otherwise.

Definition at line 123 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ ProcessQueuedWaypoints()

void ProcessQueuedWaypoints ( SCR_ScenarioFrameworkLayerBase layer)
protected

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)
protected

Definition at line 31 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ SetWaypointToAI()

override void SetWaypointToAI ( SCR_ScenarioFrameworkLayerBase layer)
protected

Definition at line 135 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ SpawnWaypoint()

AIWaypoint SpawnWaypoint ( vector position,
ResourceName wpPrefab )
protected

Creation and storage of waypoint entity.

Definition at line 73 of file SCR_ScenarioFrameworkQRFSlotAI.c.

Variable Documentation

◆ m_aQRFWaypoints

ref array<ref SCR_QRFWaypointConfig> m_aQRFWaypoints = {}
protected

Definition at line 14 of file SCR_ScenarioFrameworkQRFSlotAI.c.

◆ m_aSCR_QRFSpawnSafeZone

ref array<ref SCR_QRFSpawnSafeZone> m_aSCR_QRFSpawnSafeZone
protected

Definition at line 12 of file SCR_ScenarioFrameworkQRFSlotAI.c.