BIS fnc music: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma2oa |1.00" to "| arma2oa |1.50")
m (Text replacement - "\{\{codecomment *\| *\/\/ ([a-zA-Z _.:-]+) *\}\}" to "{{cc|$1}}")
Line 19: Line 19:
|x1= <code><nowiki>[</nowiki>["myMusic1", "myMusic2"], 1] [[call]] [[BIS_fnc_music]];</code>
|x1= <code><nowiki>[</nowiki>["myMusic1", "myMusic2"], 1] [[call]] [[BIS_fnc_music]];</code>


|x2= <code>[] [[call]] [[BIS_fnc_music]]; {{codecomment|// will play all game tracks}}</code>
|x2= <code>[] [[call]] [[BIS_fnc_music]]; {{cc|will play all game tracks}}</code>


| [[playMusic]], [[BIS_fnc_jukebox]]
| [[playMusic]], [[BIS_fnc_jukebox]]

Revision as of 15:37, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Sound

Syntax

Syntax:
Syntax needed
Parameters:
tracklist: Array of Strings - (Optional, default all game musics) a list of CfgMusic classes
delay: Number - (Optional, default 3) delay in seconds between tracks
Return Value:
Return value needed

Examples

Example 1:
[["myMusic1", "myMusic2"], 1] call BIS_fnc_music;
Example 2:
[] call BIS_fnc_music; // will play all game tracks

Additional Information

See also:
See also needed

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