|
Arma Reforger Script API
|
Base class for Prefabs Spawning. More...
Public Member Functions | |
| EPrefabSpawnType | GetType () |
| void | Spawn (array< SCR_PrefabSpawnPoint > prefabSpawnPoints) |
| Call this to trigger spawn logic for this spawner. | |
| void | SpawnPrefabsCategories (int numberOfPrefabsToSpawn, array< ref SCR_BasePrefabCategory > prefabsCategories) |
| Triggers spawning for Categories of prefabs and/or nested categories of prefabs. | |
| void | SpawnPrefabCategory (int totalprefabs, ResourceName prefab) |
| Spawn prefabs on random spawnpoints. | |
Protected Member Functions | |
| int | GetTotalRatio (array< ref SCR_BasePrefabCategory > prefabsCategories) |
| Total Ratio for prefab/s categories on same level of hierarchy. | |
Protected Attributes | |
| EPrefabSpawnType | m_eType |
| EGameFlags | m_eRequiredGameFlags |
| int | m_iTotalPrefabs |
| ref array< ref SCR_BasePrefabCategory > | m_aPrefabsCategories |
| ref array< SCR_PrefabSpawnPoint > | m_aPrefabSpawnPoints |
| List of all SCR_PrefabSpawnPoints for specific EPrefabSpawnType. | |
Base class for Prefabs Spawning.
|
protected |
Total Ratio for prefab/s categories on same level of hierarchy.
| [in] | prefabsCategories |
| EPrefabSpawnType SCR_PrefabsSpawner.GetType | ( | ) |
| void SCR_PrefabsSpawner.Spawn | ( | array< SCR_PrefabSpawnPoint > | prefabSpawnPoints | ) |
Call this to trigger spawn logic for this spawner.
| [in] | prefabSpawnPoints |
| void SCR_PrefabsSpawner.SpawnPrefabCategory | ( | int | totalprefabs, |
| ResourceName | prefab ) |
Spawn prefabs on random spawnpoints.
| [in] | totalprefabs | |
| [in] | prefab |
| void SCR_PrefabsSpawner.SpawnPrefabsCategories | ( | int | numberOfPrefabsToSpawn, |
| array< ref SCR_BasePrefabCategory > | prefabsCategories ) |
Triggers spawning for Categories of prefabs and/or nested categories of prefabs.
| [in] | numberOfPrefabsToSpawn | |
| [in] | prefabsCategories |
|
protected |
|
protected |
List of all SCR_PrefabSpawnPoints for specific EPrefabSpawnType.
|
protected |
|
protected |
|
protected |