BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ")
m (Text replacement - "Strings" to "Strings")
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
|descr= 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.
|descr= 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.


|s1= call [[BIS_fnc_radioSetPlaylist]]
|s1= call [[BIS_fnc_radioSetPlaylist]]


|r1=[[Array]] of [[String|Strings]] - created music playlist
|r1= [[Array]] of [[String]]s - 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]]
}}
}}
[[Category:{{Name|tkoh}}: Functions|{{uc:radioSetPlaylist}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:radioSetPlaylist}}]]

Latest revision as of 00:38, 13 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