Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SndBaseModule.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15class SndBaseModule: ScriptAndConfig
16{
17 private void SndBaseModule();
18
19 proto external protected SndSystem GetSndSystem();
21 proto external AudioHandle SoundEvent(string eventName);
23 proto external void SetSignalValueStr(string signal, float value);
25 proto external void SetSignalValue(int signal, float value);
27 proto external int GetSignalIndex(string name);
29 proto external void SetTransformation(vector transf[]);
31 proto external void UpdateTrigger();
33 proto external void Terminate(AudioHandle handle);
35 proto external bool IsFinishedPlaying(AudioHandle handle);
37 proto external void SetSoundTransformation(AudioHandle handle, vector transf[]);
39 proto external void SetVolume(AudioHandle handle, float volume);
40
41 // callbacks
42
44 event protected void OnInit();
46 event protected void OnCleanup();
48 event protected void OnUpdate(float timeslice);
50 event protected void OnDiag(float timeslice);
51}
52
proto external int GetSignalIndex(string name)
Returns the index of the given signal name or -1 if not found.
proto external void SetSignalValueStr(string signal, float value)
Sets signal value by name.
proto external bool IsFinishedPlaying(AudioHandle handle)
Check if sound associated with given handle has finished playing.
void OnInit()
Called after owner system is initialized.
proto external AudioHandle SoundEvent(string eventName)
Sound event.
proto external void SetSoundTransformation(AudioHandle handle, vector transf[])
Sets transformation of the sound associated with the given handle.
void OnDiag(float timeslice)
Diag for the module.
proto external void SetVolume(AudioHandle handle, float volume)
Sets the volume for a given sound.
void OnUpdate(float timeslice)
Called after parent system is ticked.
SndSystem GetSndSystem()
void OnCleanup()
Called before parent system is cleaned up.
proto external void UpdateTrigger()
Update playback of triggered sounds.
proto external void SetTransformation(vector transf[])
Sets transformation of all sounds played by this component.
proto external void Terminate(AudioHandle handle)
Terminate the sound associated with the given handle.
proto external void SetSignalValue(int signal, float value)
Sets signal value by index returned by GetSignalIndex(string name).