|
Arma Reforger Script API
|
Public Member Functions | |
Signal name | |
Sets value for given signal name \value Signal value | |
| void | SetSignalValue (string name, float value) |
| void | SetGlobalOcclusionSignals () |
| Sets all occlusion signals. | |
| void | SetEnvironmentalSignals (SoundWorld soundWorld, vector pos) |
| Sets environmental signals based on SoundMap. | |
| bool | Play () |
| void | SetTransformation (vector mat[4]) |
| void | UpdateTransformation () |
| void | Terminate (bool fadeOut=true) |
| void | SCR_AudioSource (IEntity owner, SCR_AudioSourceConfiguration audioSourceConfiguration, float distance) |
Public Attributes | |
| AudioHandle | m_AudioHandle = AudioHandle.Invalid |
| Stores valid Audio handle. | |
| IEntity | m_Owner |
| Paren entity audio source is linked to. | |
| ref SCR_AudioSourceConfiguration | m_AudioSourceConfiguration |
| Audio source configuration. | |
| ref SCR_InteriorRequestCallback | m_InteriorRequestCallback |
| Interior callback. | |
| bool | m_bTerminated = false |
| Sound is terminated. | |
Static Public Attributes | |
| static const string | INTERIOR_SIGNAL_NAME = "Interior" |
| Local signal names. | |
| static const string | SURFACE_SIGNAL_NAME = "Surface" |
| static const string | ENTITY_SIZE_SIGNAL_NAME = "EntitySize" |
| static const string | PHASES_TO_DESTROYED_PHASE_SIGNAL_NAME = "PhasesToDestroyed" |
| static const string | COLLISION_D_V_SIGNAL_NAME = "CollisionDV" |
| static const string | DISTANCE_SINAL_NAME = "Distance" |
| static const string | ROOM_SIZE_SIGNAL_NAME = "RoomSize" |
| static const string | FOREST_SIGNAL_NAME = "Forest" |
| static const string | HOUSES_SIGNAL_NAME = "Houses" |
| static const string | MEADOWS_SIGNAL_NAME = "Meadows" |
| static const string | SEA_SIGNAL_NAME = "Sea" |
Protected Attributes | |
| vector | m_aMat [4] |
| Transformation where sound was triggered. | |
| ref array< string > | m_aSignalName |
| Signal names. | |
| ref array< float > | m_aSignalValue |
| Signal values. | |
| void SCR_AudioSource.SCR_AudioSource | ( | IEntity | owner, |
| SCR_AudioSourceConfiguration | audioSourceConfiguration, | ||
| float | distance ) |
| bool SCR_AudioSource.Play | ( | ) |
| void SCR_AudioSource.SetEnvironmentalSignals | ( | SoundWorld | soundWorld, |
| vector | pos ) |
Sets environmental signals based on SoundMap.
| void SCR_AudioSource.SetGlobalOcclusionSignals | ( | ) |
Sets all occlusion signals.
| void SCR_AudioSource.SetSignalValue | ( | string | name, |
| float | value ) |
| void SCR_AudioSource.SetTransformation | ( | vector | mat[4] | ) |
| void SCR_AudioSource.Terminate | ( | bool | fadeOut = true | ) |
| void SCR_AudioSource.UpdateTransformation | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Local signal names.
|
protected |
Transformation where sound was triggered.
|
protected |
Signal names.
|
protected |
Signal values.
| AudioHandle SCR_AudioSource.m_AudioHandle = AudioHandle.Invalid |
Stores valid Audio handle.
| ref SCR_AudioSourceConfiguration SCR_AudioSource.m_AudioSourceConfiguration |
Audio source configuration.
| bool SCR_AudioSource.m_bTerminated = false |
Sound is terminated.
| ref SCR_InteriorRequestCallback SCR_AudioSource.m_InteriorRequestCallback |
Interior callback.
| IEntity SCR_AudioSource.m_Owner |
Paren entity audio source is linked to.
|
static |
|
static |
|
static |
|
static |
|
static |