Ambient Music

ambient_music is an map function that plays a sound like ambient_generic, but is more catered to playing music.

'' { "classname" "ambient_music" "targetname" "target_me" "message" "sound/../sound.mp3" "volume" "0-10" "spawnflags" "s" } ''

It can be triggered to play the sound, or it will automatically begin playing when the map begins if the targetname is removed. Unlike ambient_generic, the sound is played everywhere and doesn't require an origin to be defined.

Supported formats are: AIFF, ASF, DLS, FLAC, IT, M3U, MID, MOD, MP2, MP3, OGG, S3M, VAG, WAV, WMA, XM

Flags
"spawnflags" "s"
 * Start silent- s=1: The entity will not play any sound until it has been triggered
 * Loop- s=2: Sound will be played in a loop after triggering
 * Activator Only- s=4: Sound will only be audible by the !activator.