setMusicEffect
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
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, "$NONE$" (no change) or "$STOP$" (stops the current music track).
Syntax
- Syntax:
- TriggerObject setMusicEffect "track"
- Parameters:
- TriggerObject : Object
- track: String
- Return Value:
- Nothing
Alternative Syntax
Examples
- Example 1:
_trigger setMusicEffect "Track1"
- Example 2:
[_group1,1] setMusicEffect "$STOP$"
Additional Information
- Multiplayer:
- Behaviour unknown.

