infra_music
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
 
infra_music  is a   point entity  available in  INFRA.
 INFRA.
Entity Description
It plays a soundscript (typically music) once or looped, globally. Audio level is controlled by the music slider.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Start
- Starts the music.
- Stop
- Stops the music.
- Pause
- Pauses the music.
- Resume
- Resumes the music.
- FadeIn <float>
- Fades in the music from the beginning. Takes fade length in seconds as a parameter.
- FadeOut <float>
- Fades out the music. Takes fade length in seconds as a parameter.
Outputs
- OnFinishedPlaying
- Fired when the music has reached its end and finished playing.