|
Arma Reforger Script API
|
Handles looped ambient effects around specific entities. More...
Public Member Functions | |
| override void | Update (float worldTime, vector cameraPos, float timeOfDay, float rainIntensity) |
| Called by SCR_AmbientInsectsComponent.Update() | |
| void | GetClosestsEntities (vector cameraPos) |
| Clears ClosestEntities array for each InsectType and then runs new querry to fill it again. | |
| override void | OnPostInit (SCR_AmbientSoundsComponent ambientSoundsComponent, SCR_AmbientInsectsComponent ambientInsectsComponent, SignalsManagerComponent signalsManagerComponent) |
| Called by SCR_AmbientInsectsComponent in EOnPostInit() | |
Protected Member Functions | |
| void | ProcessEntity (notnull IEntity entity) |
| Finds Entity for each InsectType and adds it to the array of closest entities. | |
Protected Attributes | |
| int | m_iMinimumMoveDistanceSq |
| float | m_fSearchDistance |
| ref array< ref SCR_PositionalInsectType > | m_aPositionalInsectType |
| ref array< ref SCR_InsectSpawnDef > | m_aSpawnDef = {} |
| vector | m_vCameraPosLooped |
Protected Attributes inherited from SCR_AmbientInsectsEffect | |
| SCR_AmbientSoundsComponent | m_AmbientSoundsComponent |
| SCR_AmbientInsectsComponent | m_AmbientInsectsComponent |
| SignalsManagerComponent | m_LocalSignalsManager |
Handles looped ambient effects around specific entities.
| void SCR_ObjectPositionalInsects.GetClosestsEntities | ( | vector | cameraPos | ) |
Clears ClosestEntities array for each InsectType and then runs new querry to fill it again.
| override void SCR_ObjectPositionalInsects.OnPostInit | ( | SCR_AmbientSoundsComponent | ambientSoundsComponent, |
| SCR_AmbientInsectsComponent | ambientInsectsComponent, | ||
| SignalsManagerComponent | signalsManagerComponent ) |
Called by SCR_AmbientInsectsComponent in EOnPostInit()
Implements SCR_AmbientInsectsEffect.
|
protected |
Finds Entity for each InsectType and adds it to the array of closest entities.
| override void SCR_ObjectPositionalInsects.Update | ( | float | worldTime, |
| vector | cameraPos, | ||
| float | timeOfDay, | ||
| float | rainIntensity ) |
Called by SCR_AmbientInsectsComponent.Update()
Implements SCR_AmbientInsectsEffect.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |