BIS fnc radioSetPlaylist: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|gr1 = Radio | |gr1 = Radio | ||
| Set a random music playlist for the current set channel (default "Rock"). Musics with "genre" set in [[Description.ext#CfgMusic|CfgMusic]] are selected and shuffled. | | Set a random music playlist for the current set channel (default "Rock"). Musics with "genre" set in [[Description.ext#CfgMusic|CfgMusic]] are selected and shuffled. | ||
| call [[BIS_fnc_radioSetPlaylist]] | | call [[BIS_fnc_radioSetPlaylist]] | ||
| [[Array]] of [[String|Strings]] - created music playlist | | [[Array]] of [[String|Strings]] - created music playlist | ||
|x1= <code>[[call]] [[BIS_fnc_radioSetPlaylist]];</code> | |x1= <code>[[call]] [[BIS_fnc_radioSetPlaylist]];</code> | ||
| [[BIS_fnc_radioSetChannel]], [[BIS_fnc_radioSetTrack]] | | [[BIS_fnc_radioSetChannel]], [[BIS_fnc_radioSetTrack]] | ||
}} | }} | ||
Revision as of 23:38, 17 January 2021
Description
- Description:
- Set a random music playlist for the current set channel (default "Rock"). Musics with "genre" set in CfgMusic are selected and shuffled.
- Execution:
- call
- Groups:
- Radio
Syntax
- Syntax:
- call BIS_fnc_radioSetPlaylist
- Return Value:
- Array of Strings - created music playlist
Examples
- Example 1:
call BIS_fnc_radioSetPlaylist;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note