Jukebox Module – Arma 2
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Arma 2:_Editor_Modules" to "{{GameCategory|arma2|Editor Modules}}") |
Lou Montana (talk | contribs) m (Text replacement - "bis_fnc_" to "BIS_fnc_") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{TOC|side}} | ||
{{Feature|arma2oa|Only available in {{arma2oa}}.}} | |||
The '''Jukebox''' plays random [[Arma 2: CfgMusic]]. | The '''Jukebox''' plays random [[Arma 2: CfgMusic]]. | ||
Line 11: | 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 | ||
Line 23: | Line 20: | ||
=== Alternative startup (without module) === | === Alternative startup (without module) === | ||
[<trackList>,<delay>] spawn | [<trackList>,<delay>] spawn BIS_fnc_music; | ||
Both params are optional | Both params are optional | ||
{{GameCategory|arma2|Editor Modules}} |
Latest revision as of 18:25, 20 June 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