Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_InteriorRequestCallback.c
Go to the documentation of this file.
2 {
3  protected ref SCR_AudioSource m_AudioSource;
4 
5  //------------------------------------------------------------------------------------------------
6  override void OnCompleted(float interior, float roomSize)
7  {
8  if (!m_AudioSource.m_bTerminated)
9  {
10  m_AudioSource.SetSignalValue(SCR_AudioSource.INTERIOR_SIGNAL_NAME, interior);
11  m_AudioSource.SetSignalValue(SCR_AudioSource.ROOM_SIZE_SIGNAL_NAME, roomSize);
12  m_AudioSource.Play();
13  }
14 
15  m_AudioSource.m_InteriorRequestCallback = null;
16  m_AudioSource = null;
17  }
18 
19  //------------------------------------------------------------------------------------------------
21  {
22  m_AudioSource = audioSource;
23  }
24 }
SCR_AudioSource
Definition: SCR_AudioSource.c:1
m_AudioSource
SCR_AudioSource m_AudioSource
Definition: SCR_BuildingDestructionManagerComponent.c:28
SCR_InteriorRequestCallback
Definition: SCR_InteriorRequestCallback.c:1
InteriorRequestCallback
Definition: InteriorRequestCallback.c:7