setMusicEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETMUSICEFFECT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETMUSICEFFECT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETMUSICEFFECT]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger or waypoint'' setMusicEffect ''track'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Defines the music track played on activation. Track is a subclass name of CfgMusic. "$NONE$" (no change) or "$STOP$" (stops the current music track). |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger or waypoint '''setMusicEffect''' track |= Syntax


'''trigger or waypoint:''' [[Object]] or [[Array]]
|p1= trigger or waypoint: [[Object]] |= Parameter 1


'''track:''' [[String]]
|p2= track: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setMusicEffect "Track1"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Defines the music track played on activation.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETMUSICEFFECT]]
'''Track''' is a subclass name of CfgMusic.
[[Category:Scripting Commands OFP Elite |SETMUSICEFFECT]]
 
[[Category:Scripting Commands ArmA|SETMUSICEFFECT]]
"$NONE$" (no change) or "$STOP$" (stops the current music track).
 
 
'''Example:'''
 
trigger '''setMusicEffect''' "Track1"

Revision as of 23:24, 1 August 2006

Hover & click on the images for description

Description

Description:
Defines the music track played on activation. Track is a subclass name of CfgMusic. "$NONE$" (no change) or "$STOP$" (stops the current music track).
Groups:
Uncategorised

Syntax

Syntax:
trigger or waypoint setMusicEffect track
Parameters:
trigger or waypoint: Object
track: String
Return Value:
Nothing

Examples

Example 1:
trigger setMusicEffect "Track1"

Additional Information

See also:
See also needed

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

Bottom Section