I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:SoundTable (U2XMP)

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
U2XMP Object >> SoundTable
Package: 
U2

SoundTable.uc $Author: Mfox $ $Date: 12/14/02 8:36p $ $Revision: 19 $

Properties[edit]

Property group 'Sounds'[edit]

SoundList[edit]

Type: array<SoundInfoT>

list of all sounds for this class

Internal variables[edit]

DefaultSoundSlot[edit]

Type: Actor.ESoundSlot


Default value: SLOT_Talk

Structs[edit]

SoundInfoT[edit]

string SoundString 
name for actual sound to play
SoundSlotInterf.ESoundTableSlot SoundTableSlot 
sound category (can have multiple sounds per slot)
bool bPlayed 
this sound has been already played (for LRU)

Functions[edit]

Static functions[edit]

GetInstance[edit]

static function SoundTable GetInstance (Actor ContextActor, string InVoicePackage)


Native functions[edit]

Initialize[edit]

native function bool Initialize (string VoicePackage)


StringToSlot[edit]

native function bool StringToSlot (string SlotString, SoundSlotInterf.ESoundTableSlot SlotEnum)


Other instance functions[edit]

Dump[edit]

function Dump (Actor Helper)


GetNumSounds[edit]

function int GetNumSounds (SoundSlotInterf.ESoundTableSlot InSlot)


LoadAndPlaySound[edit]

function Sound LoadAndPlaySound (U2Pawn U2P, int SelectedIndex, Actor.ESoundSlot SelectedSoundSlot)


PlayRandomSlotSound[edit]

function Sound PlayRandomSlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot, Actor.ESoundSlot SelectedSoundSlot)


PlaySlotSound[edit]

function Sound PlaySlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot, optional bool bSpecialSoundSlot, optional Actor.ESoundSlot SpecialSoundSlot)


SetupAndPlaySound[edit]

function SetupAndPlaySound (U2Pawn U2P, Sound SelectedSound, Actor.ESoundSlot SelectedSoundSlot)


StopSlotSound[edit]

function StopSlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot)