![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | OnStarted () |
| void | OnStopped () |
| void | OnUpdatePoint (WorldUpdatePointArgs args) |
| override event bool | ShouldBePaused () |
| void | OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData) |
| Stop the voiceover when the speaker dies. | |
| void | OnControllableDeleted (IEntity entity) |
| Stop the voiceover when the speaker is deleted. | |
| void | OnActorLifeStateChanged () |
| Stop the voiceover when the speaker becomes unconscious. | |
| ScriptInvokerVoid | GetOnFinished () |
| Triggered when a line or sequence finishes playing. | |
| ScriptInvokerString | GetOnFinishedEvent () |
| Triggered when an event finishes playing. | |
| void | SetData (ResourceName config) |
| bool | IsPlaying () |
| void | SetActorName (SCR_EVoiceoverActor actor, string name) |
| Actor name associated with the given enum will be shown in the subtitle. | |
| void | ClearActorNames () |
| void | AddActorUnconsciousCheck (notnull IEntity actor) |
| void | RemoveActorUnconsciousCheck (notnull IEntity actor) |
| void | PlaySequence (string sequenceName, IEntity actor1=null, IEntity actor2=null, IEntity actor3=null, IEntity actor4=null, IEntity actor5=null, bool playImmediately=true) |
| Plays a sequence of voiceover lines defined in loaded config (see SetData). | |
| void | PlaySequenceActorsArray (string sequenceName, notnull array< IEntity > actors, bool playImmediately=true) |
| Same as PlaySequence but accepts an array of actors. | |
| void | PlaySequenceGlobal (string sequenceName, notnull array< IEntity > actors, bool playImmediately=true) |
| Same as PlaySequence but plays the VO for all clients. Has to be executed on server. | |
| void | PlaySequenceFor (string sequenceName, notnull array< IEntity > actors, notnull array< int > targetPlayerIds, bool playImmediately=true) |
| Same as PlaySequenceGlobal but plays the VO for clients defined by player IDs. | |
| void | RpcDo_PlaySequence (string dataName, string sequenceName, array< RplId > actorIds, bool playImmediately) |
| void | RpcDo_PlaySequenceFor (string dataName, string sequenceName, array< RplId > actorIds, array< int > targetPlayerIds, bool playImmediately) |
| void | PlayLine (string lineName, IEntity actor=null, bool playImmediately=true) |
| Plays a voiceover line defined in loaded config (see SetData). | |
| void | PlayLineGlobal (string lineName, notnull IEntity actor, bool playImmediately=true) |
| Same as PlayLine but plays the VO for all clients. Has to be executed on server. | |
| void | PlayLineFor (string lineName, notnull IEntity actor, notnull array< int > targetPlayerIds, bool playImmediately=true) |
| Same as PlayLineGlobal but plays the VO for clients defined by player IDs. | |
| void | RpcDo_PlayLine (string dataName, string lineName, RplId actorId, bool playImmediately) |
| void | RpcDo_PlayLineFor (string dataName, string lineName, RplId actorId, array< int > targetPlayerIds, bool playImmediately) |
| void | PlayCustomLine (string soundEventName, string subtitle, IEntity actor=null, string actorName=string.Empty, bool playImmediately=true) |
| Plays a custom voiceover line. | |
| void | Stop () |
| void | CallAnimCommand (IEntity actor, int commandParam) |
| void | RegisterActor (notnull IEntity entity) |
| void | PlayFromQueue (bool start=false) |
| void | PlayLineActual (string eventName, string subtitle, IEntity actor=null, string actorName=string.Empty, int animCommandParam=0, bool interruptCurrentLine=1, int finishAnimCommandParam=-1) |
| void | OnSoundEventStarted (SCR_CommunicationSoundComponent component, string eventName, AudioHandle handle, int priority) |
| void | OnSoundEventFinished (SCR_CommunicationSoundComponent component, string eventName, AudioHandle handle, int priority, bool terminated) |
| void | ShowSubtitle (string subtitle, string actorName, string eventName) |
| void | FailsafeSubtitleToggle (string eventName) |
| IEntity | GetDefaultActor () |
| void | OnFinished (string eventName=string.Empty, bool hideSubtitles=true) |
| SCR_VoiceoverSystemSnapshot | CreateSnapshot () |
| void | ApplySnapshot (notnull SCR_VoiceoverSystemSnapshot snapshot) |
| void | ~SCR_VoiceoverSystem () |
Static Protected Member Functions | |
| static SCR_VoiceoverSystem | GetInstance () |
Protected Attributes | |
| ResourceName | m_sDataResourceName |
| ref ScriptInvokerVoid | m_OnFinished |
| ref ScriptInvokerString | m_OnFinishedEvent |
| ref SCR_VoiceoverData | m_Data |
| ref SCR_VoiceoverSubtitles | m_SubtitlesDisplay |
| ref array< ref SCR_VoiceoverLine > | m_aQueue = {} |
| ref array< IEntity > | m_aActors = {} |
| ref array< SCR_CommunicationSoundComponent > | m_aHandledComponents = {} |
| ref map< SCR_EVoiceoverActor, string > | m_mActorNames = new map<SCR_EVoiceoverActor, string>() |
| SCR_CommunicationSoundComponent | m_PlayingSoundComponent |
| AudioHandle | m_iAudioHandle |
| bool | m_bSubtitlesHandled = true |
| int | m_iCurrentEndCommand = 0 |
| float | m_fTimer |
| float | m_fCustomPause = -1 |
| string | m_sCurrentSequence |
| string | m_sCurrentSoundEvent |
| string | m_sCurrentSubtitleEvent |
| string | m_sCurrentActorName |
| string | m_sCurrentSubtitle |
| IEntity | m_CurrentActor |
Static Protected Attributes | |
| static const float | PAUSE_BETWEEN_LINES = 0.5 |
| static const int | SUBTITLE_VISIBILITY_DISTANCE_SQ = 30 * 30 |
| static const int | SUBTITLE_FAILSAFE_TOGGLE_DELAY_MS = 15000 |
| static const string | DEFAULT_ANIM_COMMAND = "CMD_Gesture_NPC" |
| static const string | DEFAULT_ANIM_VARIABLE = "speech" |
Definition at line 2 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 809 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 273 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 787 of file SCR_VoiceoverSystem.c.
Definition at line 533 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 267 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 765 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 724 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 733 of file SCR_VoiceoverSystem.c.
|
inlinestaticprotected |
Definition at line 159 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Triggered when a line or sequence finishes playing.
Definition at line 221 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Triggered when an event finishes playing.
Definition at line 231 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 254 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Stop the voiceover when the speaker becomes unconscious.
Definition at line 206 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Stop the voiceover when the speaker is deleted.
Definition at line 191 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Stop the voiceover when the speaker dies.
Definition at line 171 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 744 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 682 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 650 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 54 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 71 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 87 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Plays a custom voiceover line.
Definition at line 512 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 569 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Plays a voiceover line defined in loaded config (see SetData).
Definition at line 428 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 602 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Same as PlayLineGlobal but plays the VO for clients defined by player IDs.
Definition at line 473 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Same as PlayLine but plays the VO for all clients. Has to be executed on server.
Definition at line 462 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Plays a sequence of voiceover lines defined in loaded config (see SetData).
Definition at line 300 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Same as PlaySequence but accepts an array of actors.
Definition at line 325 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Same as PlaySequenceGlobal but plays the VO for clients defined by player IDs.
Definition at line 368 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Same as PlaySequence but plays the VO for all clients. Has to be executed on server.
Definition at line 350 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Registers an actor so subtitles can be shown when a voiceover is not played from the voiceover system (like from animations etc.) Needs to be called before the sound event is played Voiceover data with subtitles still has to be set properly with corresponding sound event
Definition at line 556 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 285 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 486 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 496 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 388 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 405 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Actor name associated with the given enum will be shown in the subtitle.
Definition at line 261 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Loads voiceover data from the given SCR_VoiceoverData config resource Must be called before PlaySequence or PlayLine which both use data from this config!
Definition at line 242 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 153 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 695 of file SCR_VoiceoverSystem.c.
|
inlineprotected |
Definition at line 524 of file SCR_VoiceoverSystem.c.
|
staticprotected |
Definition at line 50 of file SCR_VoiceoverSystem.c.
|
staticprotected |
Definition at line 51 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 21 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 22 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 20 of file SCR_VoiceoverSystem.c.
Definition at line 30 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 43 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 16 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 35 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 34 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 28 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 32 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 24 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 13 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 14 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 26 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 40 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 37 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 38 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 41 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 39 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 11 of file SCR_VoiceoverSystem.c.
|
protected |
Definition at line 18 of file SCR_VoiceoverSystem.c.
|
staticprotected |
Definition at line 45 of file SCR_VoiceoverSystem.c.
|
staticprotected |
Definition at line 48 of file SCR_VoiceoverSystem.c.
|
staticprotected |
Definition at line 47 of file SCR_VoiceoverSystem.c.