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

Go to the source code of this file.

Data Structures

class  SCR_BuildingSoundComponentClass
 

Functions

SCR_BuildingSoundComponentClass SoundComponentClass Attribute ("8", UIWidgets.Slider, "Time interval when maximum WindSpeed [s]", "0 60 1")] int m_iTimeIntervalMin
 
private void TriggeredSoundHandler (IEntity owner, float timeSlice)
 
private void SetInteriorSignal (IEntity owner)
 
private bool IsInWorldBounds (vector point, IEntity entity)
 
private void GetTimeInterval ()
 
private vector GetSoundPosition (IEntity owner)
 
private float Interpolate (float in, float Xmin, float Xmax, float Ymin, float Ymax)
 
override void UpdateSoundJob (IEntity owner, float timeSlice)
 Call when component is in range. More...
 
override void OnUpdateSoundJobBegin (IEntity owner)
 Called when dynamic simulation is started. More...
 
void SCR_BuildingSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 

Variables

int m_iTimeIntervalMax
 
vector m_vMins
 
vector m_vMaxs
 
protected float m_fTriggerInterval
 

Function Documentation

◆ Attribute()

SCR_BuildingSoundComponentClass SoundComponentClass Attribute ( "8"  ,
UIWidgets.  Slider,
"Time interval when maximum WindSpeed "  [s],
"0 60 1"   
)

◆ GetSoundPosition()

private vector GetSoundPosition ( IEntity  owner)

Definition at line 88 of file SCR_BuildingSoundComponent.c.

◆ GetTimeInterval()

private void GetTimeInterval ( )

Definition at line 79 of file SCR_BuildingSoundComponent.c.

◆ Interpolate()

private float Interpolate ( float  in,
float  Xmin,
float  Xmax,
float  Ymin,
float  Ymax 
)

Definition at line 102 of file SCR_BuildingSoundComponent.c.

◆ IsInWorldBounds()

private bool IsInWorldBounds ( vector  point,
IEntity  entity 
)

Definition at line 68 of file SCR_BuildingSoundComponent.c.

◆ SCR_BuildingSoundComponent()

void SCR_BuildingSoundComponent ( IEntityComponentSource  src,
IEntity  ent,
IEntity  parent 
)
Parameters
[in]src
[in]ent
[in]parent

Definition at line 135 of file SCR_BuildingSoundComponent.c.

◆ SetInteriorSignal()

private void SetInteriorSignal ( IEntity  owner)

Definition at line 43 of file SCR_BuildingSoundComponent.c.

◆ TriggeredSoundHandler()

private void TriggeredSoundHandler ( IEntity  owner,
float  timeSlice 
)

Definition at line 26 of file SCR_BuildingSoundComponent.c.

Variable Documentation

◆ m_fTriggerInterval

protected float m_fTriggerInterval

Definition at line 23 of file SCR_BuildingSoundComponent.c.

◆ m_iTimeIntervalMax

int m_iTimeIntervalMax

Definition at line 11 of file SCR_BuildingSoundComponent.c.

◆ m_vMaxs

vector m_vMaxs

Definition at line 18 of file SCR_BuildingSoundComponent.c.

◆ m_vMins

vector m_vMins

Definition at line 15 of file SCR_BuildingSoundComponent.c.