![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_ScenarioFrameworkSlotTaskAIClass |
Functions | |
| SCR_ScenarioFrameworkSlotTaskAIClass SCR_ScenarioFrameworkSlotTaskClass | 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, bool affectRandomization=true, bool deleteSpawnedEntities=true) |
| override void | DynamicDespawn (SCR_ScenarioFrameworkLayerBase layer) |
| void | OnAgentCompartmentEntered (AIAgent agent, IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
| void | OnAgentCompartmentLeft (AIAgent agent, IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
| override bool | InitOtherThings () |
| override void | AfterAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer) |
| void | AfterAllAgentsSpawned () |
| Initializes plugins, actions, and checks for parent layer spawn completion, then sets waypoints for AI if not initialized. | |
| void | ActivateAI () |
| Activates AI group, removes unwanted prefabs, balances units count, sets on agent remove and add events,. | |
| void | OnAgentAdded (AIAgent child) |
| void | InitGroupComponents () |
| Initializes AI group components, sets formation, and combat parameters for agents in the group. | |
| void | InitWaypoints () |
| Initializes waypoints by finding them in specified layers, adding them to list, and processing them after initialization. | |
| void | CheckWaypointsAfterInit (SCR_ScenarioFrameworkLayerBase layer) |
| void | ProcessWaypoints (SCR_ScenarioFrameworkLayerBase layer) |
| void | SetWaypointToAI (SCR_ScenarioFrameworkLayerBase layer) |
| AIWaypoint | CreateDefaultWaypoint () |
| void | DecreaseAIGroupMemberCount (SCR_AIGroup group, AIAgent agent) |
| bool | CreateAIGroup () |
Variables | |
| Prefabs AI Waypoints AIWaypoint_Defend | et |
| Prefabs AI Waypoints AIWaypoint_Defend | category |
| bool | m_bBalanceOnPlayersCount |
| int | m_iMinUnitsInGroup |
| bool | m_bExcludeFromDynamicDespawnOnVehicleEntered |
| SCR_EAIGroupFormation | m_eAIGroupFormation |
| EAISkill | m_eAISkill |
| float | m_fPerceptionFactor |
| ResourceName | m_sGroupPrefab |
| ref array< AIWaypoint > | m_aWaypoints = {} |
| SCR_AIGroup | m_AIGroup |
| ref array< ResourceName > | m_aAIPrefabsForRemoval = {} |
| ref array< SCR_ScenarioFrameworkSlotWaypoint > | m_aSlotWaypoints = {} |
| int | m_iCurrentlySpawnedWaypoints |
| bool | m_bWaypointsInitialized |
| bool | m_bGroupWasNull |
|
protected |
Initializes plugins, actions, and checks for parent layer spawn completion, then sets waypoints for AI if not initialized.
Definition at line 192 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Initializes AI after all children spawned, removes event handler.
| [in] | layer | for which this is called |
Definition at line 178 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| SCR_ScenarioFrameworkSlotTaskAIClass SCR_ScenarioFrameworkSlotTaskClass Attribute | ( | desc:"Waypoint Groups if applicable" | , |
| category:"Waypoints" | ) |
Definition at line 1 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Checks waypoints after init, adds/removes event handler for all waypoints spawned, increments spawned way
| [in] | layer | for which this is called |
Definition at line 447 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Creates an AI group, sets its faction, adds entity to group, and optionally sets entity's position.
Definition at line 645 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Creates default waypoint for AI entity, spawns it in world space, adds it to list.
Definition at line 583 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Decreases AI group member count, handles termination if group empty, adds removed AI entity prefab to removal list.
| [in] | group | Decreases AI group member count, checks for termination conditions, adds removed AI entity prefab to removal list. |
| [in] | agent | Agent represents an AI entity in the game world, controlled by AI group, which is decreased from the group count in this |
Definition at line 608 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| override void DynamicDespawn | ( | SCR_ScenarioFrameworkLayerBase | layer | ) |
Dynamically despawns this layer.
| [in] | layer | Layer represents the scenario framework layer for dynamic despawning entities in the method. |
Definition at line 83 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| array< ResourceName > GetAIPrefabsForRemoval | ( | ) |
Definition at line 58 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Initializes AI group components, sets formation, and combat parameters for agents in the group.
Definition at line 292 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Clears cached values and handles Waypoint Sets
Definition at line 161 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Initializes waypoints by finding them in specified layers, adding them to list, and processing them after initialization.
Definition at line 390 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Definition at line 120 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Definition at line 132 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
Initializes waypoints for AI if scenario is initiated, otherwise waits for all children to spawn before setting waypoints.
| [in] | layer | for which this is called |
Definition at line 477 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| override void RestoreToDefault | ( | bool | includeChildren = false, |
| bool | reinitAfterRestoration = false, | ||
| bool | affectRandomization = true, | ||
| bool | deleteSpawnedEntities = true ) |
Restores default settings, clears waypoints, AI group, prefabs, slots, and initializes randomization.
| [in] | includeChildren | Includes restoring default settings for child objects as well. |
| [in] | reinitAfterRestoration | Resets object state after restoration, allowing for fresh initialization. |
| [in] | affectRandomization | Affects whether randomization is reset during default restoration. |
Definition at line 68 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| void SetAIPrefabsForRemoval | ( | array< ResourceName > | arrayForRemoval | ) |
| [in] | arrayForRemoval | Array of resource names for AI prefab removal. |
Definition at line 51 of file SCR_ScenarioFrameworkSlotTaskAI.c.
|
protected |
| [in] | layer | Initializes waypoints for AI group in scenario framework layer. |
Definition at line 487 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| Prefabs AI Waypoints AIWaypoint_Defend category |
Definition at line 14 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| Prefabs AI Waypoints AIWaypoint_Defend et |
Definition at line 14 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| ref array<ResourceName> m_aAIPrefabsForRemoval = {} |
Definition at line 40 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| SCR_AIGroup m_AIGroup |
Definition at line 39 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| ref array<SCR_ScenarioFrameworkSlotWaypoint> m_aSlotWaypoints = {} |
Definition at line 42 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| ref array<AIWaypoint> m_aWaypoints = {} |
Definition at line 38 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| bool m_bBalanceOnPlayersCount |
Definition at line 18 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| bool m_bExcludeFromDynamicDespawnOnVehicleEntered |
Definition at line 24 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| bool m_bGroupWasNull |
Definition at line 47 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| bool m_bWaypointsInitialized |
Definition at line 46 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| SCR_EAIGroupFormation m_eAIGroupFormation |
Definition at line 27 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| EAISkill m_eAISkill |
Definition at line 30 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| float m_fPerceptionFactor |
Definition at line 33 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| int m_iCurrentlySpawnedWaypoints |
Definition at line 43 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| int m_iMinUnitsInGroup |
Definition at line 21 of file SCR_ScenarioFrameworkSlotTaskAI.c.
| ResourceName m_sGroupPrefab |
Definition at line 36 of file SCR_ScenarioFrameworkSlotTaskAI.c.