|
override void | OnInit (IEntity owner) |
| Called during EOnInit.
|
|
void | SCR_CampaignSoundComponent (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.
|
|
proto external IEntity | GetOwner () |
|
|
void | OnPostInit (IEntity owner) |
| Called after all components are initialized.
|
|
void | OnInit (IEntity owner) |
| Called during EOnInit.
|
|
void | OnFrame (IEntity owner, float timeSlice) |
| Called during EOnFrame.
|
|
void | UpdateSoundJob (IEntity owner, float timeSlice) |
| Call when component is in range.
|
|
void | OnUpdateSoundJobBegin (IEntity owner) |
| Called when dynamic simulation is started.
|
|
void | OnUpdateSoundJobEnd (IEntity owner) |
| Called when dynamic simulation is stopped.
|
|
◆ SCR_CampaignSoundComponent()
void SCR_CampaignSoundComponent.SCR_CampaignSoundComponent |
( |
IEntityComponentSource |
src, |
|
|
IEntity |
ent, |
|
|
IEntity |
parent |
|
) |
| |
- Parameters
-
[in] | src | |
[in] | ent | |
[in] | parent | |
◆ OnInit()
override void SCR_CampaignSoundComponent.OnInit |
( |
IEntity |
owner | ) |
|
Called during EOnInit.
- Parameters
-
owner | Entity this component is attached to. |
Implements SimpleSoundComponent.
The documentation for this interface was generated from the following file:
- Game/Components/SCR_CampaignSoundComponent.c