Engine
Class AmbientSound

source: e:\games\UnrealTournament\Engine\Classes\AmbientSound.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Keypoint
         |
         +--Engine.AmbientSound
Direct Known Subclasses:None

class AmbientSound
extends Engine.Keypoint

//============================================================================= // Ambient sound, sits there and emits its sound. This class is no different // than placing any other actor in a level and setting its ambient sound. //=============================================================================

Source Code


00001	//=============================================================================
00002	// Ambient sound, sits there and emits its sound.  This class is no different 
00003	// than placing any other actor in a level and setting its ambient sound.
00004	//=============================================================================
00005	class AmbientSound extends Keypoint;
00006	
00007	// Import the sprite.
00008	#exec Texture Import File=Textures\Ambient.pcx Name=S_Ambient Mips=Off Flags=2
00009	
00010	defaultproperties
00011	{
00012	     Texture=Texture'Engine.S_Ambient'
00013	     SoundRadius=64
00014	     SoundVolume=190
00015	}

End Source Code