BIS fnc playMusic: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 22:23, 30 August 2019
Description
- Description:
- Plays given song.
- Execution:
- call
- Groups:
- Uncategorised
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