I'm a doctor, not a mechanic

UE1:DynamicAmbientSound (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Keypoint >> DynamicAmbientSound
Package: 
UnrealShare
This class in other games:
RTNP, UT

DynamicAmbientSound.

Properties

Property group 'DynamicAmbientSound'

bDontRepeat

Type: bool

Never play two of the same sound in a row

bInitiallyOn

Type: bool

Initial state

maxReCheckTime

Type: float

Try to restart the sound after (max amount)

Default value: 10.0

minReCheckTime

Type: float

Try to restart the sound after (min amount)

Default value: 5.0

playProbability

Type: float

The chance of the sound effect playing

Default value: 0.6

Sounds

Type: Sound

Array size: 16

What to play (must be at least one sound)

Internal variables

lastSound

Type: int

Which sound was played most recently?

numSounds

Type: int

The number of sounds available

rePlayTime

Type: float


soundPlaying

Type: bool

Is it currently playing it?

Default values

Property Value
bStatic False

Events

BeginPlay

event BeginPlay ()

Overrides: Actor.BeginPlay


Timer

event Timer ()

Overrides: Actor.Timer