The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE1:VoiceController (RTNP)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- UPak
- Direct subclass:
- MarineVoiceController
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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]
InvalidateCurrentPhrase[edit]
function InvalidateCurrentPhrase ()
IsPhraseValid[edit]
function bool IsPhraseValid ()