of_music_player

From Open Fortress Wiki
Jump to navigation Jump to search

Open Fortress of_music_player is a point entity available in Open Fortress Open Fortress. Music handler Entity.


Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled? (StartDisabled) <boolean>
Default: false
Index (Index) <integer>
Index used to pull from MapData
Default: 0
Volume (Volume) <float>
Initial volume for the music player, values range from 1(full volume) to 0 (silent)
Default: 1
Song Soundscript (LoopingSongName) <sound>
Song Soundscript, raw files don't work here

Inputs

SetVolume <float>
Set the volume of the music player.
AddVolume <float>
Increments (or decrements) the music player volume.


Enable <void>
Enable this entity.
Disable <void>
Disable this entity.
Toggle <void>
Toggle the enable/disabled status of this entity