The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:SoundSlotTimerListInterf (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09: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 >> Actor >> SoundSlotTimerListInterf
Package: 
U2
Direct subclass:
SoundSlotTimerListImpl

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

Constants[edit]

NullSlotIndex[edit]

Value: -1

value returned to caller when slot should not be reset

Structs[edit]

SoundSlotTimerT[edit]

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[edit]

Initialize[edit]

function Initialize (Actor ContextActor)


RandomizeSoundSlotTimer[edit]

function RandomizeSoundSlotTimer (Actor ContextActor, int SoundSlotIndex)


RandomizeSoundSlotTimerList[edit]

function RandomizeSoundSlotTimerList (Actor ContextActor)


TimeToDoSound[edit]

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