Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_BuildingSoundComponent Interface Reference
Inheritance diagram for SCR_BuildingSoundComponent:
SoundComponent SimpleSoundComponent

Public Member Functions

override void UpdateSoundJob (IEntity owner, float timeSlice)
 Call when component is in range.
 
override void OnUpdateSoundJobBegin (IEntity owner)
 
void SCR_BuildingSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
- Public Member Functions inherited from SoundComponent
proto external AudioHandle SoundEvent (string eventName)
 Play a sound from the owner entity's position.
 
proto external AudioHandle SoundEventTransform (string eventName, vector transf[])
 Play a sound from a set transformation.
 
proto external AudioHandle SoundEventBone (string eventName, string bone)
 Play a sound from the owner entity's position.
 
proto external AudioHandle SoundEventOffset (string eventName, vector offset)
 Play a sound with a given offset from the owner entity.
 
- Public Member Functions inherited from SimpleSoundComponent
proto external void EnableDynamicSimulation (bool value)
 Enables the dynamic simulation.
 
proto external void SetScriptedMethodsCall (bool state)
 Set flag for script callbacks.
 
proto external bool IsScriptedMethodsCallEnabled ()
 TRUE when flag for script callbacks is set.
 

Public Attributes

int m_iTimeIntervalMin
 
int m_iTimeIntervalMax
 
vector m_vMins
 
vector m_vMaxs
 

Protected Attributes

float m_fTriggerInterval
 

Additional Inherited Members

- Protected Member Functions inherited from SimpleSoundComponent
void OnFrame (IEntity owner, float timeSlice)
 
void OnUpdateSoundJobEnd (IEntity owner)
 

Constructor & Destructor Documentation

◆ SCR_BuildingSoundComponent()

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

Member Function Documentation

◆ OnUpdateSoundJobBegin()

override void SCR_BuildingSoundComponent.OnUpdateSoundJobBegin ( IEntity owner)

Implements SimpleSoundComponent.

◆ UpdateSoundJob()

override void SCR_BuildingSoundComponent.UpdateSoundJob ( IEntity owner,
float timeSlice )

Call when component is in range.

Implements SimpleSoundComponent.

Member Data Documentation

◆ m_fTriggerInterval

float SCR_BuildingSoundComponent.m_fTriggerInterval
protected

◆ m_iTimeIntervalMax

int SCR_BuildingSoundComponent.m_iTimeIntervalMax

◆ m_iTimeIntervalMin

int SCR_BuildingSoundComponent.m_iTimeIntervalMin

◆ m_vMaxs

vector SCR_BuildingSoundComponent.m_vMaxs

◆ m_vMins

vector SCR_BuildingSoundComponent.m_vMins

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