removeAllMusicEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(33 intermediate revisions by 3 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
____________________________________________________________________________________________


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


| '''removeAllMusicEventHandlers''' type |= Syntax
|descr= Removes all music track event handlers of given type.


|p1= type: [[String]] - "MusicStart" or "MusicStop"  |= PARAMETER1
|s1= [[removeAllMusicEventHandlers]] type


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


|r1= [[Nothing]]


|x1= <code>[[removeAllMusicEventHandlers]] "MusicStart"</code>|= EXAMPLE1
|x1= <sqf>removeAllMusicEventHandlers "MusicStart";</sqf>
|x2= <code>[[removeAllMusicEventHandlers]] "MusicStop"</code>|= EXAMPLE2
|x2= <sqf>removeAllMusicEventHandlers "MusicStop";</sqf>


____________________________________________________________________________________________
|seealso= [[addMusicEventHandler]] [[setMusicEventHandler]] [[removeMusicEventHandler]] [[playMusic]]
 
| [[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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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