|
override bool | ShouldBePaused () |
| Is this system should be paused while the simulation is paused?
|
|
ScriptInvokerVoid | GetOnFinished () |
| Triggered when a line or sequence finishes playing.
|
|
void | SetData (ResourceName config) |
| Loads voiceover data from the given SCR_VoiceoverData config resource Must be called before PlaySequence or PlayLine which both use data from this config!
|
|
bool | IsPlaying () |
|
void | PlaySequence (string sequenceName, IEntity actor1=null, IEntity actor2=null, IEntity actor3=null, IEntity actor4=null, IEntity actor5=null) |
| Plays a sequence of voiceover lines defined in loaded config (see SetData)
|
|
void | PlayLine (string lineName, IEntity actor1=null, IEntity actor2=null, IEntity actor3=null, IEntity actor4=null, IEntity actor5=null) |
| Plays a voiceover line defined in loaded config (see SetData)
|
|
void | PlayCustomLine (string soundEventName, string subtitle, IEntity actor=null) |
| Plays a custom voiceover line.
|
|
void | Stop () |
|
bool | ShouldBePaused () |
| Is this system should be paused while the simulation is paused?
|
|
bool | ShouldBeEnabledInEditMode () |
| Is this system should be enabled inside the editor.
|
|
◆ GetDefaultActor()
IEntity SCR_VoiceoverSystem.GetDefaultActor |
( |
| ) |
|
|
protected |
◆ GetInstance()
◆ GetOnFinished()
ScriptInvokerVoid SCR_VoiceoverSystem.GetOnFinished |
( |
| ) |
|
Triggered when a line or sequence finishes playing.
◆ IsPlaying()
bool SCR_VoiceoverSystem.IsPlaying |
( |
| ) |
|
◆ OnFinished()
void SCR_VoiceoverSystem.OnFinished |
( |
| ) |
|
|
protected |
◆ OnUpdate()
override void SCR_VoiceoverSystem.OnUpdate |
( |
ESystemPoint |
point | ) |
|
|
protected |
◆ PlayCustomLine()
void SCR_VoiceoverSystem.PlayCustomLine |
( |
string |
soundEventName, |
|
|
string |
subtitle, |
|
|
IEntity |
actor = null |
|
) |
| |
Plays a custom voiceover line.
◆ PlayFromQueue()
void SCR_VoiceoverSystem.PlayFromQueue |
( |
| ) |
|
|
protected |
◆ PlayLine() [1/2]
void SCR_VoiceoverSystem.PlayLine |
( |
string |
eventName, |
|
|
string |
subtitle, |
|
|
IEntity |
actor = null |
|
) |
| |
|
protected |
◆ PlayLine() [2/2]
void SCR_VoiceoverSystem.PlayLine |
( |
string |
lineName, |
|
|
IEntity |
actor1 = null , |
|
|
IEntity |
actor2 = null , |
|
|
IEntity |
actor3 = null , |
|
|
IEntity |
actor4 = null , |
|
|
IEntity |
actor5 = null |
|
) |
| |
Plays a voiceover line defined in loaded config (see SetData)
◆ PlaySequence()
void SCR_VoiceoverSystem.PlaySequence |
( |
string |
sequenceName, |
|
|
IEntity |
actor1 = null , |
|
|
IEntity |
actor2 = null , |
|
|
IEntity |
actor3 = null , |
|
|
IEntity |
actor4 = null , |
|
|
IEntity |
actor5 = null |
|
) |
| |
Plays a sequence of voiceover lines defined in loaded config (see SetData)
◆ SetData()
void SCR_VoiceoverSystem.SetData |
( |
ResourceName |
config | ) |
|
Loads voiceover data from the given SCR_VoiceoverData config resource Must be called before PlaySequence or PlayLine which both use data from this config!
◆ ShouldBePaused()
override bool SCR_VoiceoverSystem.ShouldBePaused |
( |
| ) |
|
Is this system should be paused while the simulation is paused?
Implements GameSystem.
◆ ShowSubtitle()
void SCR_VoiceoverSystem.ShowSubtitle |
( |
string |
subtitle | ) |
|
|
protected |
◆ Stop()
void SCR_VoiceoverSystem.Stop |
( |
| ) |
|
◆ m_aActors
ref array<IEntity> SCR_VoiceoverSystem.m_aActors = {} |
|
protected |
◆ m_aQueue
◆ m_Data
◆ m_fTimer
float SCR_VoiceoverSystem.m_fTimer |
|
protected |
◆ m_iAudioHandle
AudioHandle SCR_VoiceoverSystem.m_iAudioHandle |
|
protected |
◆ m_OnFinished
ref ScriptInvokerVoid SCR_VoiceoverSystem.m_OnFinished |
|
protected |
◆ m_PlayingSoundComponent
◆ m_SubtitlesDisplay
◆ PAUSE_BETWEEN_LINES
const float SCR_VoiceoverSystem.PAUSE_BETWEEN_LINES = 0.5 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/Systems/SCR_VoiceoverSystem.c