setMusicEffect: Difference between revisions
Jump to navigation
Jump to search
m (add to sounds com group) |
mNo edit summary |
||
Line 9: | Line 9: | ||
| Defines the music track played on activation. | | Defines the music track played on activation. | ||
Track is a subclass name of CfgMusic. | Track is a subclass name of CfgMusic. In addition, "$NONE$" (no change) or "$STOP$" (stops the current music track). |= Description | ||
"$NONE$" (no change) or "$STOP$" (stops the current music track). |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | TriggerObject '''setMusicEffect''' "track" |= Syntax | ||
|p1= | |p1= TriggerObject : [[Object]] |= Parameter 1 | ||
|p2= track: [[String]] |= Parameter 2 | |p2= track: [[String]] |= Parameter 2 | ||
Line 23: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= | |s2= [[Waypoint]] '''setMusicEffect''' "track" |= Syntax | ||
| | |p21= track: [[String]] |= Parameter 1 | ||
|r2= [[Nothing]] |= Return value | |r2= [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_trigger setMusicEffect "Track1"</pre> |= Example 1 | ||
|x2= <pre>[_group1,1] setMusicEffect "$STOP$"</pre> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:01, 31 August 2007
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:
- 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
- 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