BIS fnc music: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 38: | Line 38: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:music}}]] | [[Category:Functions|{{uc:music}}]] | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:music}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:music}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:music}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:music}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:music}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:music}}]] |
Revision as of 09:16, 10 October 2020
Description
- Description:
- Randomly play provided tracks defined in CfgMusic and does a 3 seconds fade out. This function takes accTime into account. See also BIS_fnc_jukebox.
- Execution:
- call
- Groups:
- Sound
Syntax
- Syntax:
- [tracklist, delay] call BIS_fnc_music
- 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:
- Nothing
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:
- playMusicBIS_fnc_jukebox
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