BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Text replacement - "Strings" to "Strings")
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| 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
|gr1= Radio
____________________________________________________________________________________________


| call [[BIS_fnc_radioSetPlaylist]] |= Syntax
|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.


| [[Array]] of [[String|Strings]] - created music playlist |= Return value
|s1= call [[BIS_fnc_radioSetPlaylist]]
____________________________________________________________________________________________


|x1= <code>[[call]] [[BIS_fnc_radioSetPlaylist]];</code> |= Example 1
|r1= [[Array]] of [[String]]s - created music playlist
____________________________________________________________________________________________


| [[BIS_fnc_radioSetChannel]], [[BIS_fnc_radioSetTrack]] |= See also
|x1= <sqf>call BIS_fnc_radioSetPlaylist;</sqf>
 
|seealso= [[BIS_fnc_radioSetChannel]] [[BIS_fnc_radioSetTrack]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Radio|{{uc:radioSetPlaylist}}]]
[[Category:Functions|{{uc:radioSetPlaylist}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:radioSetPlaylist}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:radioSetPlaylist}}]]

Latest revision as of 23:38, 12 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