playMusic

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Plays music defined in CfgMusic.

Syntax

Syntax:
playMusic name
Parameters:
name : String
Return Value:
Nothing

Alternative Syntax

Syntax:
playMusic [name,position]
Parameters:
[name,position]: Array
name: String
position: Number in seconds
Return Value:
Nothing

Examples

Example 1:
playMusic "musicname"
Example 2:
playMusic ["Track13", 30]

Additional Information

Multiplayer:
-
See also:
playSound, say, say string, createSoundSource

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Crowe
You can get all Music Types from Arma:_cfgMusic
http://community.bistudio.com/wiki/Arma_2:_Music#top

Bottom Section

Personal tools