Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
AmbientSoundsComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class AmbientSoundsComponent: SoundComponent
17{
20 proto external bool QueryAmbientSoundsBySphere(float radius, EQueryEntitiesFlags queryFlags = EQueryEntitiesFlags.ALL);
23 proto external void GetAmbientSoundsCountPerType(out notnull array<int> count);
25 proto external vector GetCameraOrigin();
28 proto external bool GetRiver(const vector pos, out notnull array<float> vals);
31 proto external IEntity GetRandomTree(EAmbientSoundFlags soundFlags, float minHeight);
34 proto external void GetClosestEntities(EAmbientSoundFlags soundFlags, int nEntities, out notnull array<IEntity> output);
36 proto void TracePointToTerrain(const vector point, inout int iSoundGroup);
37
38 // callbacks
39
41 event void OnRefreshNeeded();
43 event void OnQueryFinished();
44}
45
proto external void GetClosestEntities(EAmbientSoundFlags soundFlags, int nEntities, out notnull array< IEntity > output)
proto void TracePointToTerrain(const vector point, inout int iSoundGroup)
Results from the last call to QueryAmbientSoundsBySphere are used.
event void OnQueryFinished()
Triggered when the result of QueryAmbientSoundsBySphere query becomes available.
proto external bool GetRiver(const vector pos, out notnull array< float > vals)
AmbientSoundsComponentClass SoundComponentClass QueryAmbientSoundsBySphere(float radius, EQueryEntitiesFlags queryFlags=EQueryEntitiesFlags.ALL)
EAmbientSoundFlags
event void OnRefreshNeeded()
Triggered when a big-enough change in the surrounding area is detected that would require an update.
proto external void GetAmbientSoundsCountPerType(out notnull array< int > count)
proto external vector GetCameraOrigin()
Returns the last camera position.
proto external IEntity GetRandomTree(EAmbientSoundFlags soundFlags, float minHeight)
EQueryEntitiesFlags