Defines the 2D Music emitter component. Attaching this to an entity allows it to interface with the music system and determine what music to play.
| Type | Name | Default Value | Description |
|---|---|---|---|
| Array | audio_parameters | An array of FMOD parameters to set when this emitter activates. "param_name": <int_value> | |
| String | heatmap_influence_global_music_parameter | Name of the global music parameter in FMOD where the heatmap influence should be sent if this music emitter is spawned by a heatmap. | |
| Decimal | max_distance | How far away the local player is before the emitter activates | |
| Array | music_states | An array of different states this emitter can be in. Active state is determined by the music_emitter_states component | |
| String | on_enter_bae | The name of the audio event to request when this emitter activates | |
| Integer | priority | Determines which emitter to choose when more than one is active. Higher is more priority. | |
| String | state_name | Name of the state for Debugging |