removeAllMusicEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 16: Line 16:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>removeAllMusicEventHandlers "MusicStart"</code>
|x1= <sqf>removeAllMusicEventHandlers "MusicStart"</sqf>
|x2= <code>removeAllMusicEventHandlers "MusicStop"</code>
|x2= <sqf>removeAllMusicEventHandlers "MusicStop"</sqf>


|seealso= [[addMusicEventHandler]] [[setMusicEventHandler]] [[removeMusicEventHandler]] [[playMusic]]
|seealso= [[addMusicEventHandler]] [[setMusicEventHandler]] [[removeMusicEventHandler]] [[playMusic]]
}}
}}

Revision as of 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Removes all music track event handlers of given type.
Groups:
Event HandlersSounds

Syntax

Syntax:
removeAllMusicEventHandlers type
Parameters:
type: String - "MusicStart" or "MusicStop"
Return Value:
Nothing

Examples

Example 1:
removeAllMusicEventHandlers "MusicStart"
Example 2:
removeAllMusicEventHandlers "MusicStop"

Additional Information

See also:
addMusicEventHandler setMusicEventHandler removeMusicEventHandler playMusic

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