setMusicEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| TriggerObject '''setMusicEffect''' "track" |= Syntax
| trigger '''setMusicEffect''' track |= Syntax


|p1= TriggerObject : [[Object]] |= Parameter 1
|p1= trigger: [[Object]] |= Parameter 1


|p2= track: [[String]] |= Parameter 2
|p2= track: [[String]] |= Parameter 2
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|s2= [[Waypoint]] '''setMusicEffect''' "track" |= Syntax
|s2= waypoint '''setMusicEffect''' track |= Syntax


|p21= track: [[String]] |= Parameter 1
|p21= waypoint: [[Array]] - format [[Waypoint]]|= Parameter 1
|p22= track: [[String]] |= Parameter 2


|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |= Return value

Revision as of 20:41, 25 January 2009

-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:
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

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