|
static proto AudioHandle | PlaySound (string path) |
| Play *.wav file.
|
|
static proto bool | PlayEventInitialize (string filename) |
| Preload audio file(*.acp).
|
|
static proto AudioHandle | PlayEvent (string filename, string eventname, vector transf[], array< string > names=null, array< float > values=null) |
|
static proto bool | IsSoundPlayed (AudioHandle handle) |
|
static proto void | TerminateSound (AudioHandle handle) |
|
static proto bool | SetSoundTransformation (AudioHandle handle, vector transf[]) |
| Set transformation for given audio handle, return FALSE if audio handle is not valid.
|
|
static proto float | IsAudible (string filepath, string eventName, vector position) |
| Return -1.0 for the inaudible event, otherwise return distance from passed position to listener.
|
|
static proto bool | SetBoundingVolumeParams (AudioHandle handle, int volumeType, float params0, float param1, float param2) |
|
static proto float | OutputVolume () |
|
static proto bool | SetMasterVolume (int id, float volume) |
|
static proto float | GetMasterVolume (int id) |
|
static proto bool | CreateOutputState (string filename) |
|
static proto int | GetOutpuStateSignalIdx (int outStateIdx, string signal) |
|
static proto void | SetOutputStateSignal (int outStateIdx, int idx, float value) |
|
static proto int | GetVariableIDByName (string varName, string filename) |
| Returns ID of a variable by Name.
|
|
static proto string | GetVariableNameByID (int ID, string filename) |
| Returns Name of a variable by ID.
|
|
static proto float | GetVariableValue (string varName, string filename) |
| Returns current value of a variable by Name.
|
|
static proto float | GetVariableByID (int ID, string filename) |
| Returns current value of a variable by ID.
|
|
static proto bool | SetVariableByName (string varName, float value, string filename) |
| Returns false if variable does not exist.
|
|
static proto bool | SetVariableByID (int ID, float value, string filename) |
| Returns false if variable does not exist.
|
|
static proto void | ResetVariables () |
| Resets all applicable values to 0 or default value.
|
|