BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Radio(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| tkoh |Game name=
| tkoh |Game name=
Line 7: Line 6:


|gr1 = Radio |GROUP1=
|gr1 = Radio |GROUP1=
____________________________________________________________________________________________


| 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. |DESCRIPTION=
| 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. |DESCRIPTION=
____________________________________________________________________________________________


| call [[BIS_fnc_radioSetPlaylist]] |SYNTAX=
| call [[BIS_fnc_radioSetPlaylist]] |SYNTAX=


| [[Array]] of [[String|Strings]] - created music playlist |RETURNVALUE=
| [[Array]] of [[String|Strings]] - created music playlist |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[[call]] [[BIS_fnc_radioSetPlaylist]];</code> |EXAMPLE1=
|x1= <code>[[call]] [[BIS_fnc_radioSetPlaylist]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[BIS_fnc_radioSetChannel]], [[BIS_fnc_radioSetTrack]] |SEEALSO=
| [[BIS_fnc_radioSetChannel]], [[BIS_fnc_radioSetTrack]] |SEEALSO=

Revision as of 23:50, 16 January 2021

Hover & click on the images for description

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

See also:
BIS_fnc_radioSetChannelBIS_fnc_radioSetTrack

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

Notes

Bottom Section