playMusic: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "</dt>" to "") |
m (Text replace - "</dd>" to "") |
||
Line 34: | Line 34: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate" | <dd class="notedate"> | ||
<dt class="note">'''[[User:Crowe|Crowe]]''' | <dt class="note">'''[[User:Crowe|Crowe]]''' | ||
<dd class="note"> | <dd class="note"> | ||
You can get all Music Types from [[Arma:_cfgMusic]] | You can get all Music Types from [[Arma:_cfgMusic]] | ||
http://community.bistudio.com/wiki/Arma_2:_Music#top | http://community.bistudio.com/wiki/Arma_2:_Music#top | ||
Revision as of 13:37, 21 October 2011
Description
- Description:
- Plays music defined in CfgMusic.
- Groups:
- Uncategorised
Syntax
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
- See also:
- playSoundsaycreateSoundSource
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
Notes
- Crowe
- You can get all Music Types from Arma:_cfgMusic http://community.bistudio.com/wiki/Arma_2:_Music#top
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Command Group: Sounds