Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
AmbientSoundsComponent.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
AmbientSoundsComponentClass
:
SoundComponentClass
13
{
14
}
15
16
class
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
AmbientSoundsComponentClass
Definition
AmbientSoundsComponent.c:13
IEntity
Definition
IEntity.c:13
SoundComponentClass
Definition
SoundComponentClass.c:13
SoundComponent
Definition
SoundComponent.c:13
vector
Definition
vector.c:13
GetClosestEntities
proto external void GetClosestEntities(EAmbientSoundFlags soundFlags, int nEntities, out notnull array< IEntity > output)
TracePointToTerrain
proto void TracePointToTerrain(const vector point, inout int iSoundGroup)
Results from the last call to QueryAmbientSoundsBySphere are used.
OnQueryFinished
event void OnQueryFinished()
Triggered when the result of QueryAmbientSoundsBySphere query becomes available.
Definition
SCR_AmbientSoundsComponent.c:49
GetRiver
proto external bool GetRiver(const vector pos, out notnull array< float > vals)
QueryAmbientSoundsBySphere
AmbientSoundsComponentClass SoundComponentClass QueryAmbientSoundsBySphere(float radius, EQueryEntitiesFlags queryFlags=EQueryEntitiesFlags.ALL)
EAmbientSoundFlags
EAmbientSoundFlags
Definition
EAmbientSoundFlags.c:14
OnRefreshNeeded
event void OnRefreshNeeded()
Triggered when a big-enough change in the surrounding area is detected that would require an update.
Definition
SCR_AmbientSoundsComponent.c:44
GetAmbientSoundsCountPerType
proto external void GetAmbientSoundsCountPerType(out notnull array< int > count)
GetCameraOrigin
proto external vector GetCameraOrigin()
Returns the last camera position.
GetRandomTree
proto external IEntity GetRandomTree(EAmbientSoundFlags soundFlags, float minHeight)
EQueryEntitiesFlags
EQueryEntitiesFlags
Definition
EQueryEntitiesFlags.c:13
scripts
Game
generated
Components
AmbientSoundsComponent.c
Generated by
1.17.0