 |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
9 protected int m_iGroupType;
11 [
Attribute(
desc:
"List of containing distance that this spawn point requires in order to spawn QRF of given type - when spawn point allows for QRF type for which it doesnt have the safe distance then its considered good for use even when player is standing on that position")]
33 if (Resource.Load(newObjectPrefab).IsValid())
34 m_sObjectToSpawn = newObjectPrefab;
48 if (deleteWaypointEntities)
75 EntitySpawnParams paramsPatrolWP =
new EntitySpawnParams();
76 paramsPatrolWP.TransformMode = ETransformMode.WORLD;
77 paramsPatrolWP.Transform[3] =
position;
79 Resource resWP = Resource.Load(wpPrefab);
83 AIWaypoint waypoint = AIWaypoint.Cast(
GetGame().SpawnEntityPrefab(resWP,
GetGame().GetWorld(), paramsPatrolWP));
115 group.AddWaypoint(wp);
121 override void Init(
SCR_ScenarioFrameworkArea area =
null, SCR_ScenarioFrameworkEActivationType activation = SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
128 super.Init(area, activation);
138 super.SetWaypointToAI(layer);
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
void SetObjectToSpawn(ResourceName newObjectPrefab)
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
AIWaypoint CreateWaypoint(vector position, ResourceName wpPrefab)
Creation of waypoint entity and storing of waypoint information for dynamic respawn of this slot.
void SCR_QRFWaypointConfig(ResourceName wpPrefab, SCR_EQRFGroupOrderType groupType=SCR_EQRFGroupOrderType.ANY, int distanceOffset=0, vector wpPosition=vector.Zero)
ScriptInvokerScenarioFrameworkLayer GetOnAllChildrenSpawned()
ArmaReforgerScripted GetGame()
protected override void SetWaypointToAI(SCR_ScenarioFrameworkLayerBase layer)
void ClearWaypoints(bool deleteWaypointEntities=false)
Clears both array of queued waypoint configs and waypoints entities with option to delete them.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
enum EAITargetInfoCategory m_Entity
array< ref SCR_QRFSpawnSafeZone > GetSpawnSafeZones()
Getter for an array of configs defining group types and their respective distances to nearest observe...
int GetGroupType()
Getter for type of groups that are intended to be spawned with this slot.
protected bool m_bDynamicallyDespawned
protected ref array< ref SCR_QRFSpawnSafeZone > m_aSCR_QRFSpawnSafeZone
protected ref array< Widget > m_aWaypoints
void SCR_ScenarioFrameworkSlotAI(IEntityComponentSource src, IEntity ent, IEntity parent)
ref array< SCR_ScenarioFrameworkSlotWaypoint > m_aSlotWaypoints
protected void ProcessQueuedWaypoints(SCR_ScenarioFrameworkLayerBase layer)
Creation and assignment of queued waypoints after this slot is dynamically respawned.
protected AIWaypoint SpawnWaypoint(vector position, ResourceName wpPrefab)
Creation and storage of waypoint entity.
override void Init(SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
int GetNumberOfExistingWaypoints()
Getter that returns number of existing waypoints for the entity that was the last one to be spawned.
void SCR_ScenarioFrameworkLayerBase(IEntityComponentSource src, IEntity ent, IEntity parent)
protected void ProcessWaypoints(SCR_ScenarioFrameworkLayerBase layer)
protected ref array< IEntity > m_aSpawnedEntities
protected ref array< ref SCR_QRFWaypointConfig > m_aQRFWaypoints