![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Base class that handles different insects based on their type. More...
Protected Member Functions | |
| void | Init (notnull SCR_AmbientSoundsComponent ambientSoundsComponent, notnull SCR_ObjectPositionalInsects objectPositionalInsects, notnull SCR_AmbientInsectsComponent ambientInsectsComponent) |
| void | Update (vector cameraPos) |
| void | RandomizeAnimation (IEntity entity) |
| Randomises animation for Insect. | |
| void | SpawnParticle (ParticleEffectEntitySpawnParams spawnParams, int chance=100) |
| void | RemoveDistantInsects () |
| Deletes Insects that are too far away. | |
| set< BaseContainer > | GetPrefabContainerSet () |
| void | AddClosestEntity (IEntity entity) |
| void | ClearClosestEntities () |
| Clears closest entities array for selected insect type. | |
Protected Attributes | |
| ref array< ref SCR_InsectDef > | m_aInsectDef |
| ResourceName | m_sSpawnDef |
| int | m_iSpawnChance |
| vector | m_vOffset |
| SCR_AmbientSoundsComponent | m_AmbientSoundsComponent |
| SignalsManagerComponent | m_LocalSignalsManager |
| ref array< IEntity > | m_aClosestEntities = {} |
| ref array< IEntity > | m_aActiveEntities = {} |
| ref array< ref SCR_InsectParticle > | m_aParticles = {} |
| ref set< ref Resource > | m_ResourceSet = new set<ref Resource>() |
| ref set< BaseContainer > | m_PrefabContainerSet = new set<BaseContainer>() |
| ref SCR_InsectSpawnDef | m_SpawnDef |
| float | m_fDayTimeCurve = 1 |
| float | m_fRainIntensityCurve = 1 |
Static Protected Attributes | |
| static const int | INVALID = -1 |
Base class that handles different insects based on their type.
Definition at line 3 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Adds entity to the closest entities array for selected insect type
| [in] | entity |
Definition at line 157 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Clears closest entities array for selected insect type.
Definition at line 164 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Get prefab container set
Definition at line 149 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Initialises necessary things for Insect type
| [in] | ambientSoundsComponent | |
| [in] | objectPositionalInsects | |
| [in] | ambientInsectsComponent |
Definition at line 38 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Randomises animation for Insect.
Definition at line 63 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Deletes Insects that are too far away.
Definition at line 130 of file SCR_PositionalInsectType.c.
|
inlineprotected |
Spawns particle with sound based on spawnParams and randomized chance
| [in] | spawnParams | |
| [in] | chance |
Definition at line 81 of file SCR_PositionalInsectType.c.
|
protected |
Performs updates to the Insect type
| [in] | cameraPos |
|
staticprotected |
Definition at line 31 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 21 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 20 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 6 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 17 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 22 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 28 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 29 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 12 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 18 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 25 of file SCR_PositionalInsectType.c.
Definition at line 24 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 27 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 9 of file SCR_PositionalInsectType.c.
|
protected |
Definition at line 15 of file SCR_PositionalInsectType.c.