|
| override void | UpdateSoundJob (IEntity owner, float timeSlice) |
| | Call when component is in range.
|
| |
| override void | OnUpdateSoundJobBegin (IEntity owner) |
| |
| void | SCR_TriggerSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| |
| void | ~SCR_TriggerSoundComponent () |
| |
| 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.
|
| |
◆ SCR_TriggerSoundComponent()
| void SCR_TriggerSoundComponent.SCR_TriggerSoundComponent |
( |
IEntityComponentSource | src, |
|
|
IEntity | ent, |
|
|
IEntity | parent ) |
◆ ~SCR_TriggerSoundComponent()
| void SCR_TriggerSoundComponent.~SCR_TriggerSoundComponent |
( |
| ) |
|
◆ OnUpdateSoundJobBegin()
| override void SCR_TriggerSoundComponent.OnUpdateSoundJobBegin |
( |
IEntity | owner | ) |
|
◆ UpdateSoundJob()
| override void SCR_TriggerSoundComponent.UpdateSoundJob |
( |
IEntity | owner, |
|
|
float | timeSlice ) |
◆ m_fTime
| float SCR_TriggerSoundComponent.m_fTime |
|
protected |
◆ m_fTriggerDistanceMax
| float SCR_TriggerSoundComponent.m_fTriggerDistanceMax |
|
protected |
◆ m_fTriggerDistanceMin
| float SCR_TriggerSoundComponent.m_fTriggerDistanceMin |
|
protected |
◆ m_fTriggerTime
| float SCR_TriggerSoundComponent.m_fTriggerTime |
|
protected |
◆ m_iRepCount
| int SCR_TriggerSoundComponent.m_iRepCount |
|
protected |
◆ m_iRepCountCurent
| int SCR_TriggerSoundComponent.m_iRepCountCurent |
|
protected |
◆ m_iRepCountRnd
| int SCR_TriggerSoundComponent.m_iRepCountRnd |
|
protected |
◆ m_iRepTime
| float SCR_TriggerSoundComponent.m_iRepTime |
|
protected |
◆ m_iRepTimeRnd
| float SCR_TriggerSoundComponent.m_iRepTimeRnd |
|
protected |
◆ m_iSequenceRepTime
| float SCR_TriggerSoundComponent.m_iSequenceRepTime |
|
protected |
◆ m_iSequenceRepTimeRnd
| float SCR_TriggerSoundComponent.m_iSequenceRepTimeRnd |
|
protected |
◆ m_sSoundEvent
| string SCR_TriggerSoundComponent.m_sSoundEvent |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Components/SCR_TriggerSoundComponent.c