BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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|Comments=
{{Function


| tkoh |Game name=
| tkoh


|1.00|Game version=
|1.00


|gr1 = Radio |GROUP1=
|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. |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.


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


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


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


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



Revision as of 23:38, 17 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

Bottom Section