Cogito, ergo sum

UE2:SoundSlotTimerListInterf (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> SoundSlotTimerListInterf
Package: 
U2
Direct subclass:
SoundSlotTimerListImpl

SoundSlotTimerListInterf.uc $Author: Mbaldwin $ $Date: 9/20/02 10:49p $ $Revision: 1 $

Constants

NullSlotIndex

Value: -1

value returned to caller when slot should not be reset

Structs

SoundSlotTimerT

SoundSlotInterf.ESoundTableSlot SoundSlot 
name of sound category (slot)
float SlotOdds 
see above
float MinSecsToNextSound 
min time between playing sound from sound slot
float MaxSecsToNextSound 
max time between playing sound from sound slot
bool bReset 
see above
float NextSoundTime 
level time after which next sound can be played

Instance functions

Initialize

function Initialize (Actor ContextActor)


RandomizeSoundSlotTimer

function RandomizeSoundSlotTimer (Actor ContextActor, int SoundSlotIndex)


RandomizeSoundSlotTimerList

function RandomizeSoundSlotTimerList (Actor ContextActor)


TimeToDoSound

function bool TimeToDoSound (Actor ContextActor, SoundSlotInterf.ESoundTableSlot SoundSlot, out int SlotIndex)