setMusicEffect

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Defines the music track played on activation. Track is a subclass name of CfgMusic. In addition, "$STOP$" (stops the current music track).

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"
Example 2:
[_group1,1] setMusicEffect "$STOP$"

Additional Information

Multiplayer:
-
See also:
createTriggersetSoundEffect

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section