BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 15: Line 15:
|r1= [[Array]] of [[String|Strings]] - created music playlist
|r1= [[Array]] of [[String|Strings]] - created music playlist


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


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

Revision as of 13:04, 5 May 2022

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