The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:SoundTable (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> SoundTable |
Contents
- Package:
- U2
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. |
SoundTable.uc $Author: Mfox $ $Date: 12/14/02 8:36p $ $Revision: 19 $
Properties
Property group 'Sounds'
SoundList
Type: array<SoundInfoT>
list of all sounds for this class
Internal variables
DefaultSoundSlot
Type: Actor.ESoundSlot
Default value: SLOT_Talk
Structs
SoundInfoT
- 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
Static functions
GetInstance
Native functions
Initialize
StringToSlot
Other instance functions
Dump
function Dump (Actor Helper)
GetNumSounds
function int GetNumSounds (SoundSlotInterf.ESoundTableSlot InSlot)
LoadAndPlaySound
PlayRandomSlotSound
function Sound PlayRandomSlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot, Actor.ESoundSlot SelectedSoundSlot)
PlaySlotSound
function Sound PlaySlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot, optional bool bSpecialSoundSlot, optional Actor.ESoundSlot SpecialSoundSlot)
SetupAndPlaySound
StopSlotSound
function StopSlotSound (U2Pawn U2P, SoundSlotInterf.ESoundTableSlot SoundTableSlot)