|
override void | UpdateSoundJob (IEntity owner, float timeSlice) |
| Call when component is in range.
|
|
override void | OnUpdateSoundJobBegin (IEntity owner) |
|
override void | OnPostInit (IEntity owner) |
|
override void | OnInit (IEntity owner) |
|
void | SCR_BellSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
|
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.
|
|
proto external AudioHandle | SoundEventOffset (string eventName, vector offset) |
| Play a sound with a given offset from the owner entity.
|
|
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_BellSoundComponent()
void SCR_BellSoundComponent.SCR_BellSoundComponent |
( |
IEntityComponentSource | src, |
|
|
IEntity | ent, |
|
|
IEntity | parent ) |
- Parameters
-
[in] | src | |
[in] | ent | |
[in] | parent | |
◆ OnInit()
override void SCR_BellSoundComponent.OnInit |
( |
IEntity | owner | ) |
|
◆ OnPostInit()
override void SCR_BellSoundComponent.OnPostInit |
( |
IEntity | owner | ) |
|
◆ OnUpdateSoundJobBegin()
override void SCR_BellSoundComponent.OnUpdateSoundJobBegin |
( |
IEntity | owner | ) |
|
◆ UpdateSoundJob()
override void SCR_BellSoundComponent.UpdateSoundJob |
( |
IEntity | owner, |
|
|
float | timeSlice ) |
◆ m_aSoundBellTime
◆ m_fTimeOfDayValueLast
float SCR_BellSoundComponent.m_fTimeOfDayValueLast |
|
protected |
◆ m_fTimer
float SCR_BellSoundComponent.m_fTimer |
|
protected |
◆ m_iBellTimeIdx
int SCR_BellSoundComponent.m_iBellTimeIdx = -1 |
|
protected |
◆ m_iRepetitionCount
int SCR_BellSoundComponent.m_iRepetitionCount |
|
protected |
◆ m_iSoundBellTimeCount
int SCR_BellSoundComponent.m_iSoundBellTimeCount |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Components/SCR_BellSoundComponent.c