BIS fnc playMusic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 9: | Line 9: | ||
| Plays given song. | | Plays given song. | ||
| [class,start,volume] call [[BIS_fnc_playMusic]] | |s1=[class,start,volume] call [[BIS_fnc_playMusic]] | ||
|p1= class: [[String]] - Classname of song | |p1= class: [[String]] - Classname of song |
Revision as of 15:56, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Sound
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