BIS fnc playMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 36: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: MP|{{uc:playMusic}}]]
 
[[Category:Functions|{{uc:playMusic}}]]
[[Category:Functions|{{uc:playMusic}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playMusic}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playMusic}}]]

Revision as of 02:16, 10 October 2020

Hover & click on the images for description

Description

Description:
Plays given song.
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
[class,start,volume] call BIS_fnc_playMusic
Parameters:
class: String - Classname of song
start: Number - Time of start in seconds - Default: 0
volume: Number - Music volume from 0 to 1 - Default: musicVolume
Return Value:
Boolean - true

Examples

Example 1:
["LeadTrack04_F",10,0.5] call BIS_fnc_playMusic; //Song starts at 10 seconds with 50% volume.

Additional Information

See also:
playMusic musicVolume

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

Notes

Bottom Section