Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_LightningComponent Interface Reference

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

Inheritance diagram for SCR_LightningComponent:

Public Member Functions

void OnFlashesRpl ()
 
override void OnPostInit (IEntity owner)
 

Protected Attributes

ref RandomGenerator m_pRandomGenerator = new RandomGenerator()
 
int m_iMinFlashes
 
int m_iMaxFlashes
 
float m_fFlashMinDurationMillis
 
float m_fFlashMaxDurationMillis
 
float m_fFlashMinCooldownMillis
 
float m_fFlashMaxCooldownMillis
 
float m_fFlashMinVisibilityRadiusKM
 
float m_fFlashMaxVisibilityRadiusKM
 
int m_iNumFlashes
 
float m_fRadiusKM
 
ref array< float > m_aFlashesStartTime = {}
 
ref array< float > m_aFlashesDuration = {}
 
ref array< float > m_aFlashesCooldownDuration = {}
 
int m_iCurFlashIndex
 

Detailed Description

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

Member Function Documentation

◆ OnFlashesRpl()

void SCR_LightningComponent.OnFlashesRpl ( )

◆ OnPostInit()

override void SCR_LightningComponent.OnPostInit ( IEntity owner)

Member Data Documentation

◆ m_aFlashesCooldownDuration

ref array<float> SCR_LightningComponent.m_aFlashesCooldownDuration = {}
protected

◆ m_aFlashesDuration

ref array<float> SCR_LightningComponent.m_aFlashesDuration = {}
protected

◆ m_aFlashesStartTime

ref array<float> SCR_LightningComponent.m_aFlashesStartTime = {}
protected

◆ m_fFlashMaxCooldownMillis

float SCR_LightningComponent.m_fFlashMaxCooldownMillis
protected

◆ m_fFlashMaxDurationMillis

float SCR_LightningComponent.m_fFlashMaxDurationMillis
protected

◆ m_fFlashMaxVisibilityRadiusKM

float SCR_LightningComponent.m_fFlashMaxVisibilityRadiusKM
protected

◆ m_fFlashMinCooldownMillis

float SCR_LightningComponent.m_fFlashMinCooldownMillis
protected

◆ m_fFlashMinDurationMillis

float SCR_LightningComponent.m_fFlashMinDurationMillis
protected

◆ m_fFlashMinVisibilityRadiusKM

float SCR_LightningComponent.m_fFlashMinVisibilityRadiusKM
protected

◆ m_fRadiusKM

float SCR_LightningComponent.m_fRadiusKM
protected

◆ m_iCurFlashIndex

int SCR_LightningComponent.m_iCurFlashIndex
protected

◆ m_iMaxFlashes

int SCR_LightningComponent.m_iMaxFlashes
protected

◆ m_iMinFlashes

int SCR_LightningComponent.m_iMinFlashes
protected

◆ m_iNumFlashes

int SCR_LightningComponent.m_iNumFlashes
protected

◆ m_pRandomGenerator

ref RandomGenerator SCR_LightningComponent.m_pRandomGenerator = new RandomGenerator()
protected

The documentation for this interface was generated from the following file: