setMusicEffect: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
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. In addition, "$STOP$" (stops the current music track). |= | Track is a subclass name of CfgMusic. In addition, "$STOP$" (stops the current music track). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| trigger '''setMusicEffect''' track |= | | trigger '''setMusicEffect''' track |SYNTAX= | ||
|p1= trigger: [[Object]] |= | |p1= trigger: [[Object]] |PARAMETER1= | ||
|p2= track: [[String]] |= | |p2= track: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= waypoint '''setMusicEffect''' track |= | |s2= waypoint '''setMusicEffect''' track |SYNTAX= | ||
|p21= waypoint: [[Array]] - format [[Waypoint]]|= | |p21= waypoint: [[Array]] - format [[Waypoint]]|PARAMETER1= | ||
|p22= track: [[String]] |= | |p22= track: [[String]] |PARAMETER2= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>_trigger setMusicEffect "Track1"</pre> |= | |x1= <pre>_trigger setMusicEffect "Track1"</pre> |EXAMPLE1= | ||
|x2= <pre>[_group1,1] setMusicEffect "$STOP$"</pre> |= | |x2= <pre>[_group1,1] setMusicEffect "$STOP$"</pre> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[createTrigger]], [[setSoundEffect]] |= | | [[createTrigger]], [[setSoundEffect]] |SEEALSO= | ||
}} | }} |
Revision as of 14:47, 7 April 2019
Description
- Description:
- Defines the music track played on activation. Track is a subclass name of CfgMusic. In addition, "$STOP$" (stops the current music track).
- Groups:
- Uncategorised
Syntax
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:
- createTriggersetSoundEffect
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