![]() |
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_ScenarioFrameworkSlotBaseClass |
|
protected |
Initializes plugins, actions, and checks if parent layer has all children spawned after all children have spawned in scenario framework
| [in] | layer | Initializes layer, sets up plugins, actions, and checks parent layer spawning status. |
Definition at line 475 of file SCR_ScenarioFrameworkSlotBase.c.
| SCR_ScenarioFrameworkSlotBaseClass SCR_ScenarioFrameworkLayerBaseClass Attribute | ( | params:"et" | , |
| desc:"Resource name of the object to be spawned" | , | ||
| category:"Asset" | ) |
Queries nearby objects within range for the owner entity.
| [in] | fRange | Represents search radius for objects in range query. |
Definition at line 1 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
//! Dynamically despawns this layer.
| [in] | layer | Layer represents the scenario framework layer where dynamic despawning occurs. |
Definition at line 291 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Finishes initialization, assigns unique ID, sets up damage manager, event handlers, inventory, and garbage system if applicable.
Definition at line 413 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Definition at line 209 of file SCR_ScenarioFrameworkSlotBase.c.
Checks if entity matches prefab data, if not, checks if it matches object to spawn, if not, returns true
| [in] | entity | to be outed |
Definition at line 158 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Definition at line 234 of file SCR_ScenarioFrameworkSlotBase.c.
| string GetOverriddenObjectDisplayName | ( | ) |
Definition at line 128 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Randomly selects an entity from a catalog based on provided parameters, handles error cases, and returns the prefab of the
| [out] | prefab | Randomly selected prefab from entity catalog for randomized spawning. |
Definition at line 503 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Definition at line 263 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
First attempts to get get teh Fction Switched Object for the provided faciton key, then falls back to m_sObjectToSpawn. Init does not include Catalog entities as the catalog manager has not been initialised yet. If m_bRandomizePerFaction, then catalog system will ignore m_sObjectToSpawn if it has a catalog match. Otherwise it falls back to m_sObjectToSpawn.
Definition at line 243 of file SCR_ScenarioFrameworkSlotBase.c.
| string GetSpawnedEntityDisplayName | ( | ) |
Definition at line 142 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Definition at line 227 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Initializes scenario framework slot
| [in] | area | that this slot is nested into. |
| [in] | activation | Activates scenario framework action type, sets up for children spawning. |
Definition at line 464 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Initializes whether an init has already happened, but for slots it always returns false.
Definition at line 326 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Spawns entity if not existing or queries objects in range, checks initiation success.
Definition at line 372 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Checks if entity is spawned, if not, waits for all children to spawn then checks again.
Definition at line 335 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Initializes selected object, repeatable spawn, and entity spawn.
Definition at line 401 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
If m_bRandomizePerFaction, then it will set m_sObjectToSpawn to empty because the the catalog system has not been initialised. It would be incorect to show the manually set object or the faction switched object because the catalog will take preference at runtime.
Definition at line 357 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
If m_bRandomizePerFaction, then catalog system will ignore m_sObjectToSpawn if it has a catalog match. Otherwise it falls back to m_sObjectToSpawn.
Definition at line 349 of file SCR_ScenarioFrameworkSlotBase.c.
| void OnCompartmentEntered | ( | IEntity | vehicle, |
| BaseCompartmentManagerComponent | mgr, | ||
| IEntity | occupant, | ||
| int | managerId, | ||
| int | slotID ) |
Excludes vehicle from dynamic despawning when entering a component.
| [in] | vehicle | Excludes vehicle from dynamic despawning when entering a component. |
| [in] | mgr | BaseCompartmentManagerComponent represents an entity component managing cargo, passengers, and other objects in a vehicle. |
| [in] | occupant | Occupant represents the entity currently inside the vehicle when the method is called. |
| [in] | managerId | ManagerId represents the unique identifier for the comparment manager in the vehicle. |
| [in] | slotID | SlotID represents the specific seat. |
Definition at line 121 of file SCR_ScenarioFrameworkSlotBase.c.
| void OnInventoryParentChanged | ( | InventoryStorageSlot | oldSlot, |
| InventoryStorageSlot | newSlot ) |
Method changes inventory parent slot and sets dynamic despawn exclusion for an entity.
| [in] | oldSlot | Represents previous inventory slot where item was before being moved. |
| [in] | newSlot | Represents new inventory slot for item transfer. |
Definition at line 105 of file SCR_ScenarioFrameworkSlotBase.c.
| void OnObjectDamage | ( | EDamageState | state | ) |
| [in] | state | Checks if object is destroyed, removes damage state change listener, and terminates object if repeated spawn is not enabled and run out of numbers |
Definition at line 88 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Restores default settings, clears random object, resets position, calls superclass method.
| [in] | includeChildren | Includes children objects in default restoration process. |
| [in] | reinitAfterRestoration | Restores object state after restoration, resetting internal variables. |
| [in] | affectRandomization | Affects randomization during object restoration. |
Definition at line 280 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 717 of file SCR_ScenarioFrameworkSlotBase.c.
| void SetOverriddenObjectDisplayName | ( | string | name | ) |
| [in] | name | Sets object display name override. |
Definition at line 135 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
| [in] | name | Represents an object to spawn randomly in the world. |
Definition at line 270 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Spawns random asset, sets position, ignores terrain orientation, requests navmesh rebuild, adds to spawned entities
Definition at line 579 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Slot cannot have children
| [in] | previouslyRandomized | PreviouslyRandomized: Boolean indicating if children were previously randomized before spawning. |
Definition at line 495 of file SCR_ScenarioFrameworkSlotBase.c.
|
protected |
Deletes preview entity in workbench mode, returns if in edit mode, otherwise despawns scenario slot base.
Definition at line 724 of file SCR_ScenarioFrameworkSlotBase.c.