The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE1:DynamicAmbientSound (U1)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- Package:
- UnrealShare
- This class in other games:
- RTNP, UT
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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