setMusicEffect

From Bohemia Interactive Community
Revision as of 08:01, 31 August 2007 by Mikero (talk | contribs)
Jump to navigation Jump to search
-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. In addition, "$NONE$" (no change) or "$STOP$" (stops the current music track).
Groups:
Uncategorised

Syntax

Syntax:
TriggerObject setMusicEffect "track"
Parameters:
TriggerObject : Object
track: String
Return Value:
Nothing

Alternative Syntax

Syntax:
Waypoint setMusicEffect "track"
Parameters:
track: String
Return Value:
Nothing

Examples

Example 1:
_trigger setMusicEffect "Track1"
Example 2:
[_group1,1] setMusicEffect "$STOP$"

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