{"name":"BIS_fnc_playMusic","operator":null,"title":"BIS fnc playMusic","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_playMusic","revid":349204,"updated":"2023-11-08T14:50:43Z","groups":["Sound"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Plays given song.","syntaxes":[{"syntax":"[class,start,volume] call BIS_fnc_playMusic","since":null,"effect":null,"exec":null,"params":[{"name":"class","type":"String","optional":false,"default":null,"description":"classname of song","types":["String"],"since":null,"text":"class: String - classname of song"},{"name":"start","type":"Number","optional":false,"default":null,"description":"time of start in seconds - Default: 0","types":["Number"],"since":null,"text":"start: Number - time of start in seconds - Default: 0"},{"name":"volume","type":"Number","optional":false,"default":null,"description":"music volume from 0 to 1 - Default: musicVolume","types":["Number"],"since":null,"text":"volume: Number - music volume from 0 to 1 - Default: musicVolume"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true","text":"Boolean - true"}}],"examples":[{"text":"```sqf\n[\"LeadTrack04_F\", 10, 0.5] call BIS_fnc_playMusic; // song starts at 10 seconds with 50% volume.\n```","code":["[\"LeadTrack04_F\", 10, 0.5] call BIS_fnc_playMusic; // song starts at 10 seconds with 50% volume."]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["playMusic","musicVolume"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Sound","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}