Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_LightningComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_LightningComponentClass
 

Functions

void OnFlashesRpl ()
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 

Variables

SCR_LightningComponentClass m_pRandomGenerator = new RandomGenerator()
 Inform the weather manager a lightning has been spawned. Weather Manager will handle light changes. More...
 
protected int m_iMinFlashes
 
protected int m_iMaxFlashes
 
protected float m_fFlashMinDurationMillis
 
protected float m_fFlashMaxDurationMillis
 
protected float m_fFlashMinCooldownMillis
 
protected float m_fFlashMaxCooldownMillis
 
protected float m_fFlashMinVisibilityRadiusKM
 
protected float m_fFlashMaxVisibilityRadiusKM
 
protected int m_iNumFlashes
 
protected float m_fRadiusKM
 
protected ref array< float > m_aFlashesStartTime = {}
 
protected ref array< float > m_aFlashesDuration = {}
 
protected ref array< float > m_aFlashesCooldownDuration = {}
 
protected int m_iCurFlashIndex
 

Function Documentation

◆ OnFlashesRpl()

void OnFlashesRpl ( )

Definition at line 55 of file SCR_LightningComponent.c.

Variable Documentation

◆ m_aFlashesCooldownDuration

protected ref array<float> m_aFlashesCooldownDuration = {}

Definition at line 49 of file SCR_LightningComponent.c.

◆ m_aFlashesDuration

protected ref array<float> m_aFlashesDuration = {}

Definition at line 46 of file SCR_LightningComponent.c.

◆ m_aFlashesStartTime

protected ref array<float> m_aFlashesStartTime = {}

Definition at line 43 of file SCR_LightningComponent.c.

◆ m_fFlashMaxCooldownMillis

protected float m_fFlashMaxCooldownMillis

Definition at line 26 of file SCR_LightningComponent.c.

◆ m_fFlashMaxDurationMillis

protected float m_fFlashMaxDurationMillis

Definition at line 20 of file SCR_LightningComponent.c.

◆ m_fFlashMaxVisibilityRadiusKM

protected float m_fFlashMaxVisibilityRadiusKM

Definition at line 33 of file SCR_LightningComponent.c.

◆ m_fFlashMinCooldownMillis

protected float m_fFlashMinCooldownMillis

Definition at line 23 of file SCR_LightningComponent.c.

◆ m_fFlashMinDurationMillis

protected float m_fFlashMinDurationMillis

Definition at line 17 of file SCR_LightningComponent.c.

◆ m_fFlashMinVisibilityRadiusKM

protected float m_fFlashMinVisibilityRadiusKM

Definition at line 30 of file SCR_LightningComponent.c.

◆ m_fRadiusKM

protected float m_fRadiusKM

Definition at line 40 of file SCR_LightningComponent.c.

◆ m_iCurFlashIndex

protected int m_iCurFlashIndex

Definition at line 51 of file SCR_LightningComponent.c.

◆ m_iMaxFlashes

protected int m_iMaxFlashes

Definition at line 15 of file SCR_LightningComponent.c.

◆ m_iMinFlashes

protected int m_iMinFlashes

Definition at line 12 of file SCR_LightningComponent.c.

◆ m_iNumFlashes

protected int m_iNumFlashes

Definition at line 37 of file SCR_LightningComponent.c.

◆ m_pRandomGenerator

SCR_LightningComponentClass m_pRandomGenerator = new RandomGenerator()

Inform the weather manager a lightning has been spawned. Weather Manager will handle light changes.