setMusicEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''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).
Defines the music track played on activation.
 
'''Track''' is a subclass name of CfgMusic.
 
"$NONE$" (no change) or "$STOP$" (stops the current music track).
 


'''Example:'''
'''Example:'''


trigger '''setMusicEffect''' "Track1"
trigger '''setMusicEffect''' "Track1"

Revision as of 20:30, 4 July 2006


trigger or waypoint setMusicEffect track


Operand types:

trigger or waypoint: Object or Array

track: String

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

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).


Example:

trigger setMusicEffect "Track1"