UE1:VoiceController (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
RTNP Object >> Actor >> Info >> VoiceController
Package:
UPak
Direct subclass:
MarineVoiceController

VoiceController.

Properties

Property group 'VoiceController'

PhraseArray

Type: PhraseData

Array size: 20 (20 )


Default value, index 0:

Member Value
AssociatedState 'WarnFriends'
PhraseDuration 3.0

Default value, index 1:

Member Value
AssociatedState 'AcknowledgeWarning'
PhraseDuration 3.5

Default value, index 2:

Member Value
AssociatedState 'AcknowledgeWarning'
PhraseDuration 2.0

Internal variables

CurrentPhrase

Type: PhraseData


CurrentPhraseNumber

Type: int


CurrentSpeaker

Type: Pawn


MaxPhraseArrayContents

Type: int


Structs

PhraseData

float PhraseDuration
Approximate length of this sound
name AssociatedState
State in Pawn that's associated with playing this sound
Sound SoundName
The sound itself
Pawn LastSaidBy
Who said this last? More repetition avoiding
byte bRecentlyPlayed
Was message recently sent? Avoid repetition
byte bActive
Is this Phrase active? 0 = Off, 1 = On

Functions

Events

BeginPlay

event BeginPlay ()

Overrides: Actor.BeginPlay


Other instance functions

ActivatePhrase

function ActivatePhrase (int PhraseNumber)


FindPhrase

function bool FindPhrase ()


Finished

function Finished ()


GetCurrentPhraseAssociatedState

function name GetCurrentPhraseAssociatedState ()


GetCurrentPhraseLastSaidBy

function Pawn GetCurrentPhraseLastSaidBy ()


GetCurrentPhraseStatus

function bool GetCurrentPhraseStatus ()


GetCurrentSoundDuration

function float GetCurrentSoundDuration ()


GetCurrentSoundName

function Sound GetCurrentSoundName ()


InitiatePlay

function bool InitiatePlay (Pawn SoundGeneratedBy)


InvalidateCurrentPhrase

function InvalidateCurrentPhrase ()


IsPhraseValid

function bool IsPhraseValid ()