setMusicEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed syntax)
m (add to sounds com group)
Line 50: Line 50:
[[Category:Scripting Commands OFP Elite |SETMUSICEFFECT]]
[[Category:Scripting Commands OFP Elite |SETMUSICEFFECT]]
[[Category:Scripting Commands ArmA|SETMUSICEFFECT]]
[[Category:Scripting Commands ArmA|SETMUSICEFFECT]]
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]]

Revision as of 05:22, 22 February 2007

-wrong parameter ("Arma") defined!-1.00
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 setMusicEffect track
Parameters:
trigger: Object
track: String
Return Value:
Nothing

Alternative Syntax

Syntax:
waypoint setMusicEffect track
Parameters:
waypoint: Array (format Waypoint
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