BIS fnc playMusic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
|x1= <code>["LeadTrack04_F",10,0.5] call [[BIS_fnc_playMusic]]; {{codecomment|//Song starts at 10 seconds with 50% volume.}}</code>
|x1= <code>["LeadTrack04_F",10,0.5] call [[BIS_fnc_playMusic]]; {{codecomment|//Song starts at 10 seconds with 50% volume.}}</code>


| [[playMusic]] [[musicVolume]]
|seealso= [[playMusic]] [[musicVolume]]
}}
}}

Revision as of 01:35, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Sound

Syntax

Syntax:
Syntax needed
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:
Return value needed

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