Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Defines the music track played on activation. Track is a sub-class name of CfgMusic  (see Class CfgMusic in the VBS3 Developer Reference). In addition, "$NONE$" (no change) or "$STOP$" (stops the current music track).

Syntax

Syntax:trigger setMusicEffect track
Parameters:
  • trigger: Object - Trigger to associate with the music effect.
  • track: String - Music effect to play.
Return Value:Nothing

Alternative Syntax

Syntax:waypoint setMusicEffect track
Parameters:
  • waypoint: Waypoint - Waypoint to associate with the music effect.
  • track: String - Music effect to play.
Return Value:Nothing

Examples

Examples:
_trigger setMusicEffect "Track1";
[_group1,1] setMusicEffect "$STOP$";

Additional Information

See also:
Multiplayer:
Problems:

Notes