BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
Line 17: Line 17:
|x1= <sqf>call BIS_fnc_radioSetPlaylist;</sqf>
|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:53, 1 July 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_radioSetChannel BIS_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