Jukebox Module – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Arma 2:_Editor_Modules" to "{{GameCategory|arma2|Editor Modules}}")
m (Some wiki formatting)
Line 1: Line 1:
{{GameCategory|arma2|Editor Modules}}
{{TOC|side}}
<span style="color:#CC0000;">'''ARMA 2: Operation Arrowhead ONLY'''</span>
{{Feature|arma2oa|Only available in {{arma2oa}}.}}
 
 
== Introduction ==
The '''Jukebox''' plays random [[Arma 2: CfgMusic]].
The '''Jukebox''' plays random [[Arma 2: CfgMusic]].


Line 25: Line 22:
  [<trackList>,<delay>] spawn bis_fnc_music;
  [<trackList>,<delay>] spawn bis_fnc_music;
Both params are optional
Both params are optional
{{GameCategory|arma2|Editor Modules}}

Revision as of 06:12, 1 January 2021

Arma 2: Operation Arrowhead
Only available in Arma 2: Operation Arrowhead.

The Jukebox plays random Arma 2: CfgMusic.

Initialization

Startup

F7 > Jukebox

Optional parameters

Set variables to jukebox logic with desired values

  • trackList = <array>; - List of played music tracks
Example: this setvariable ["trackList",["EP1_Track","EP1_Track01D"]];
Default value: All songs in config
  • delay = <number>; - Delay between songs
Example: this setvariable ["delay",0];
Default value: 3

Alternative startup (without module)

[<trackList>,<delay>] spawn bis_fnc_music;

Both params are optional