BIS fnc music: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Hypoxic125 (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
|seealso= [[playMusic]] [[BIS_fnc_jukebox]] | |seealso= [[playMusic]] [[BIS_fnc_jukebox]] | ||
}} | |||
{{Note | |||
|user= Hypoxic125 | |||
|timestamp= 20240123034523 | |||
|text= Internal script handle <span style="color: blue;">bis_fnc_music_spawn</span> is created when called. | |||
To terminate: | |||
<sqf> | |||
if (!isNil "bis_fnc_music_spawn") then {terminate bis_fnc_music_spawn}; | |||
playMusic ""; | |||
</sqf> | |||
}} | }} |
Revision as of 04:45, 23 January 2024
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:
- Example 2:
Additional Information
- See also:
- playMusic BIS_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
- Posted on Jan 23, 2024 - 03:45 (UTC)
- Internal script handle bis_fnc_music_spawn is created when called. To terminate: