Mostly Harmless

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

Property group 'DynamicAmbientSound'[edit]

bDontRepeat[edit]

Type: bool

Never play two of the same sound in a row

bInitiallyOn[edit]

Type: bool

Initial state

maxReCheckTime[edit]

Type: float

Try to restart the sound after (max amount)

Default value: 10.0

minReCheckTime[edit]

Type: float

Try to restart the sound after (min amount)

Default value: 5.0

playProbability[edit]

Type: float

The chance of the sound effect playing

Default value: 0.6

Sounds[edit]

Type: Sound

Array size: 16

What to play (must be at least one sound)

Internal variables[edit]

lastSound[edit]

Type: int

Which sound was played most recently?

numSounds[edit]

Type: int

The number of sounds available

rePlayTime[edit]

Type: float


soundPlaying[edit]

Type: bool

Is it currently playing it?

Default values[edit]

Property Value
bStatic False

Events[edit]

BeginPlay[edit]

event BeginPlay ()

Overrides: Actor.BeginPlay


Timer[edit]

event Timer ()

Overrides: Actor.Timer