Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_VehicleSoundComponent Interface Reference
Inheritance diagram for SCR_VehicleSoundComponent:
[legend]

Public Member Functions

override void OnInit (IEntity owner)
 Called during EOnInit.
 
override void OnPostInit (IEntity owner)
 Called after all components are initialized.
 
void SCR_VehicleSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
void ~SCR_VehicleSoundComponent ()
 
- 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.
 
proto external IEntity GetOwner ()
 

Protected Member Functions

array< ref SCR_HitZoneStateSignalDataGetHitZoneStateSignalData ()
 
void RegisterHitZoneSignals (IEntity owner)
 
void UnregisterHitZoneSignals ()
 
- Protected Member Functions inherited from SimpleSoundComponent
void OnPostInit (IEntity owner)
 Called after all components are initialized.
 
void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnFrame (IEntity owner, float timeSlice)
 Called during EOnFrame.
 
void UpdateSoundJob (IEntity owner, float timeSlice)
 Call when component is in range.
 
void OnUpdateSoundJobBegin (IEntity owner)
 Called when dynamic simulation is started.
 
void OnUpdateSoundJobEnd (IEntity owner)
 Called when dynamic simulation is stopped.
 

Protected Attributes

ref array< ref SCR_HitZoneStateSignalm_aHitZoneStateSignal = {}
 

Additional Inherited Members

- Static Public Member Functions inherited from VehicleSoundComponent
static proto void SetMinTimeAfterImpact (float timeMs)
 

Constructor & Destructor Documentation

◆ SCR_VehicleSoundComponent()

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

◆ ~SCR_VehicleSoundComponent()

void SCR_VehicleSoundComponent.~SCR_VehicleSoundComponent ( )

Member Function Documentation

◆ GetHitZoneStateSignalData()

array< ref SCR_HitZoneStateSignalData > SCR_VehicleSoundComponent.GetHitZoneStateSignalData ( )
protected

◆ OnInit()

override void SCR_VehicleSoundComponent.OnInit ( IEntity  owner)

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implements SimpleSoundComponent.

Implemented in SCR_HelicopterSoundComponent.

◆ OnPostInit()

override void SCR_VehicleSoundComponent.OnPostInit ( IEntity  owner)

Called after all components are initialized.

Parameters
ownerEntity this component is attached to.

Implements SimpleSoundComponent.

Implemented in SCR_HelicopterSoundComponent.

◆ RegisterHitZoneSignals()

void SCR_VehicleSoundComponent.RegisterHitZoneSignals ( IEntity  owner)
protected

◆ UnregisterHitZoneSignals()

void SCR_VehicleSoundComponent.UnregisterHitZoneSignals ( )
protected

Member Data Documentation

◆ m_aHitZoneStateSignal

ref array<ref SCR_HitZoneStateSignal> SCR_VehicleSoundComponent.m_aHitZoneStateSignal = {}
protected

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