![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | SetupTrigger () |
| Spawns a trigger entity with specified resource, sets its radius, and attaches an activation event. | |
| void | MoveTaskIconToArea (notnull SCR_Task task) |
| bool | GetIsTaskSuitableForArea (SCR_ESFTaskType eTaskType) |
| void | GetAvailableTaskTypes (out array< SCR_ESFTaskType > aTaskTypes) |
| void | GetSuitableLayersForTaskType (out notnull array< SCR_ScenarioFrameworkLayerBase > aSlotsOut, SCR_ESFTaskType eTaskType) |
| void | SetAreaSelected (bool bSet) |
| bool | GetIsAreaSelected () |
| void | OnAreaTriggerActivated (IEntity entity) |
| ScriptInvoker | GetOnAreaTriggerActivated () |
| ScriptInvoker | GetOnAreaInit () |
| override void | RestoreToDefault (bool includeChildren=false, bool reinitAfterRestoration=false, bool affectRandomization=true, bool deleteSpawnedEntities=true) |
| override void | DynamicReinit () |
| Initializes dynamic reinitialization by calling Init() method. | |
| override void | DynamicDespawn (SCR_ScenarioFrameworkLayerBase layer) |
| override bool | InitParentLayer () |
| override void | Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT) |
| override void | AfterAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer) |
| void | PrepareLayerSpecificDynamicDespawn (SCR_ScenarioFrameworkLayerBase layer, bool staySpawned=false, int despawnRange=0) |
| void | RemoveLayerSpecificDynamicDespawn (SCR_ScenarioFrameworkLayerBase layer, bool staySpawned=false) |
| void | PrepareDynamicDespawn () |
| Prepares dynamic spawn/despawn for layers. | |
| void | RemoveDynamicDespawn () |
| Removes dynamic spawn/despawn for layers. | |
| void | ExecuteDynamicDespawn (SCR_ScenarioFrameworkSystem scenarioFrameworkSystem) |
| Executes dynamic spawn/despawn for layers. | |
| void | DynamicSpawnLayer (array< vector > observers) |
| Goes over despawned layers and checks whether or not said area should spawn. | |
| void | DynamicDespawnLayer (array< vector > observers) |
| Goes over spawned layers and checks whether or not said area should despawn. | |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| void | DrawDebugShape (bool draw) |
| void | SCR_ScenarioFrameworkArea (IEntityComponentSource src, IEntity ent, IEntity parent) |
| void | ~SCR_ScenarioFrameworkArea () |
Class is managing the area including the Slots (prefab Slot.et). The Slots should be placed in its hierarchy. GameModePatrolManager will select one instance of this type and will start to populate it based on the selected task
Definition at line 24 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 630 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Definition at line 639 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Initializes Trigger
| [in] | layer | for which this method is called. |
Definition at line 395 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Draws debug shapes for debugging
| [in] | draw | debug shape for the object if draw parameter is true, otherwise does not draw anything. |
Definition at line 601 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Removes all children layers from the scenario framework layer and despawns itself if not excluded from dynamic despawning.
| [in] | layer | Removes layer from dynamic despawning, clears children layers. |
Definition at line 352 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Goes over spawned layers and checks whether or not said area should despawn.
Definition at line 524 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Initializes dynamic reinitialization by calling Init() method.
Definition at line 344 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Goes over despawned layers and checks whether or not said area should spawn.
Definition at line 498 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Initializes area registration with ScenarioFrameworkSystem when game mode is valid.
| [in] | owner | The owner represents the entity that initializes this script on its EOnInit event. |
Definition at line 555 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Executes dynamic spawn/despawn for layers.
Definition at line 487 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Gets available task types from scenario layers and adds them to an array.
| [out] | aTaskTypes | The array of available task types for the scenario framework layer. |
Definition at line 240 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Definition at line 289 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Checks if given task type is suitable for current area by checking if it's in available task types list.
| [in] | eTaskType | Task type enum representing possible tasks in the area. |
Definition at line 227 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Definition at line 321 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Definition at line 311 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Filters suitable layers for given task type, populates output array with matching layers.
| [out] | aSlotsOut | Array of suitable layers for given task type. |
| [in] | eTaskType | eTaskType is the task type parameter used to filter suitable layers for the given task type in the scenario framework. |
Definition at line 262 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Initializes area, spawns trigger if not already spawned, initializes trigger actions if trigger is present, and sets activation type
| [in] | area | parent |
| [in] | activation | Activation type determines how scenario area is initiated, either on init or based on specific conditions. |
Definition at line 383 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Initializes parent layer with true value.
Definition at line 373 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Moves task icon to area position.
| [in] | task |
Definition at line 217 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
| [in] | entity | Triggers area activation event for scenario framework, enabling periodic queries if not already done once. |
Definition at line 296 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
| [in] | owner | The owner represents the entity being initialized in the method. |
Definition at line 591 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Prepares dynamic spawn/despawn for layers.
Definition at line 458 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Prepares dynamic spawn/despawn for specific layer (Intended for runtime usage)
| [in] | layer | |
| [in] | staySpawned |
Definition at line 406 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Removes dynamic spawn/despawn for layers.
Definition at line 473 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Removes dynamic spawn/despawn for specific layer (Intended for runtime usage)
| [in] | layer | |
| [in] | staySpawned |
Definition at line 430 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Restores default settings, deselects area, nullifies triggers, resets item delivery point, and calls base class
| [in] | includeChildren | Restores default settings, optionally including children objects. |
| [in] | reinitAfterRestoration | Restores object state, optionally reinitializes after restoration. |
| [in] | affectRandomization | Affects randomization settings during restoration. |
Definition at line 331 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
| [in] | bSet | is a boolean parameter indicating whether to set or unset the area selection. |
Definition at line 282 of file SCR_ScenarioFrameworkArea.c.
|
inlineprotected |
Spawns a trigger entity with specified resource, sets its radius, and attaches an activation event.
Definition at line 185 of file SCR_ScenarioFrameworkArea.c.