Jukebox Module – Arma 2
Category: Arma 2: Editor Modules
Lou Montana (talk | contribs) m (Lou Montana moved page Jukebox to Arma 2: Jukebox Module: name standard)  | 
				Lou Montana (talk | contribs)  m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")  | 
				||
| Line 8: | Line 8: | ||
=== Optional parameters ===  | === Optional parameters ===  | ||
====Set variables to jukebox logic with desired values====  | ==== Set variables to jukebox logic with desired values ====  | ||
*'''trackList = <array>;''' - List of played music tracks  | *'''trackList = <array>;''' - List of played music tracks  | ||
Revision as of 18:32, 31 January 2021
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