removeAllMusicEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.50


|0.50|Game version=
|gr1= Event Handlers


|gr1 = Event Handlers |GROUP1=
|gr2= Sounds


|gr2 = Sounds |GROUP2=
|descr= Removes all music track event handlers of given type.
____________________________________________________________________________________________


| Removes all music track event handlers of given type.  |DESCRIPTION=
|s1= [[removeAllMusicEventHandlers]] type
____________________________________________________________________________________________


| '''removeAllMusicEventHandlers''' type |SYNTAX=
|p1= type: [[String]] - "MusicStart" or "MusicStop"


|p1= type: [[String]] - "MusicStart" or "MusicStop"  |PARAMETER1=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>removeAllMusicEventHandlers "MusicStart";</sqf>
|x2= <sqf>removeAllMusicEventHandlers "MusicStop";</sqf>


 
|seealso= [[addMusicEventHandler]] [[setMusicEventHandler]] [[removeMusicEventHandler]] [[playMusic]]
|x1= <code>[[removeAllMusicEventHandlers]] "MusicStart"</code>|EXAMPLE1=
|x2= <code>[[removeAllMusicEventHandlers]] "MusicStop"</code>|EXAMPLE2=
 
____________________________________________________________________________________________
 
| [[addMusicEventHandler]], [[setMusicEventHandler]], [[removeMusicEventHandler]], [[playMusic]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:42, 28 June 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