The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:VoiceController (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RTNP Object >> Actor >> Info >> VoiceController
Package: 
UPak
Direct subclass:
MarineVoiceController

VoiceController.

Properties[edit]

Property group 'VoiceController'[edit]

PhraseArray[edit]

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[edit]

CurrentPhrase[edit]

Type: PhraseData


CurrentPhraseNumber[edit]

Type: int


CurrentSpeaker[edit]

Type: Pawn


MaxPhraseArrayContents[edit]

Type: int


Structs[edit]

PhraseData[edit]

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[edit]

Events[edit]

BeginPlay[edit]

event BeginPlay ()

Overrides: Actor.BeginPlay


Other instance functions[edit]

ActivatePhrase[edit]

function ActivatePhrase (int PhraseNumber)


FindPhrase[edit]

function bool FindPhrase ()


Finished[edit]

function Finished ()


GetCurrentPhraseAssociatedState[edit]

function name GetCurrentPhraseAssociatedState ()


GetCurrentPhraseLastSaidBy[edit]

function Pawn GetCurrentPhraseLastSaidBy ()


GetCurrentPhraseStatus[edit]

function bool GetCurrentPhraseStatus ()


GetCurrentSoundDuration[edit]

function float GetCurrentSoundDuration ()


GetCurrentSoundName[edit]

function Sound GetCurrentSoundName ()


InitiatePlay[edit]

function bool InitiatePlay (Pawn SoundGeneratedBy)


InvalidateCurrentPhrase[edit]

function InvalidateCurrentPhrase ()


IsPhraseValid[edit]

function bool IsPhraseValid ()