I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
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
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
InvalidateCurrentPhrase
function InvalidateCurrentPhrase ()
IsPhraseValid
function bool IsPhraseValid ()