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

UE2:SoundDispatcher (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> SoundDispatcher
Package: 
Legend

SoundDispatcher.uc $Author: Mfox $ $Date: 12/14/02 10:52p $ $Revision: 8 $ If any programmer ever sees this code feel free to beat me with a stick, I KNOW that it's an ugly, redundant mess ;)

Properties

Property group 'SoundDispatcher'

bLoop

Type: bool


EventList

Type: SoundEvent

Array size: 16


SoundRadius

Type: float

radius used to play all sounds in this SoundDispatcher

Default value: 64.0

SoundSlot

Type: Actor.ESoundSlot

slot used to play all sounds in this SoundDispatcher

Default value: SLOT_Misc

SoundVolume

Type: float

volume used to play all sounds in this SoundDispatcher

Default value: 1.0

Internal variables

i

Type: int


P

Type: PlayerController


Target

Type: Actor


Default values

Property Value
InitialState 'SoundDispatcher'
Texture Texture'Legend.S_SndDispatcher'

Structs

SoundEvent

float Delay 
relative delay *before* generating event
Sound Sound 
sound to play (ignore SoundTableTag)
name SoundSourceTag 
tag of actor to play the sound
name Event 
event to generate
bool bPlayOnPlayer 
play on player?

States

NormalTrigger

NormalTrigger.Touch

event Touch (Actor Other)

Overrides: Trigger.Touch (global)


OtherTriggerTurnsOn

OtherTriggerTurnsOn.Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Trigger.OtherTriggerTurnsOn.Trigger


SoundDispatcher

SoundDispatcher.Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger (global)