|
| EQueryType | GetDominantTree () |
| |
| SCR_AudioHandleLoop | SoundEventLooped (string soundEvent, vector transformation[4]) |
| | Use to play sound events that has looped banks.
|
| |
| void | TerminateLooped (SCR_AudioHandleLoop audioHandleLoop) |
| | Use to terminate looped sounds that were triggered using SoundEventLooped()
|
| |
| override void | UpdateSoundJob (IEntity owner, float timeSlice) |
| | Call when component is in range.
|
| |
| override void | OnPostInit (IEntity owner) |
| |
| override void | OnInit (IEntity owner) |
| |
| void | SCR_AmbientSoundsComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| |
| void | ~SCR_AmbientSoundsComponent () |
| |
| proto external void | QueryAmbientSoundsBySphere (float radius, EQueryEntitiesFlags queryFlags=EQueryEntitiesFlags.ALL) |
| |
| proto external void | GetAmbientSoundsCountPerType (out notnull array< int > count) |
| |
| proto external vector | GetCameraOrigin () |
| |
| proto external bool | GetRiver (const vector pos, out notnull array< float > count) |
| |
| proto external IEntity | GetRandomTree (int index, float minHeight) |
| |
| proto external void | GetClosestEntities (int soundTypeIdx, int nEntities, out notnull array< IEntity > output) |
| |
| proto void | TracePointToTerrain (const vector point, inout int iSoundGroup) |
| |
| proto external AudioHandle | SoundEvent (string eventName) |
| | Play a sound from the owner entity's position.
|
| |
| proto external AudioHandle | SoundEventTransform (string eventName, vector transf[]) |
| | Play a sound from a set transformation.
|
| |
| proto external AudioHandle | SoundEventBone (string eventName, string bone) |
| | Play a sound from the owner entity's position If boneName is different than string.Empty, then you might need to first use SetTransformation(vector transf[]) or else sound may fail the auditability test.
|
| |
| proto external AudioHandle | SoundEventOffset (string eventName, vector offset) |
| | Play a sound with a given offset from the owner entity If offset is different than vector.Zero, then you might need to first use SetTransformation(vector transf[]) or else sound may fail the auditability test.
|
| |
| proto external void | EnableDynamicSimulation (bool value) |
| | Enables the dynamic simulation.
|
| |
| proto external void | SetScriptedMethodsCall (bool state) |
| | Set flag for script callbacks.
|
| |
| proto external bool | IsScriptedMethodsCallEnabled () |
| | TRUE when flag for script callbacks is set.
|
| |