BIS fnc radioSetPlaylist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "Strings" to "Strings")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| tkoh
|game1= tkoh
|version1= 1.00


|1.00
|game2= arma3
|version2= 0.50


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


| 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 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