removeAllMissionEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(Add warning about index)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes all mission event handlers of the given type which were added by [[addMissionEventHandler]]. |DESCRIPTION=
| Removes all mission event handlers of the given type which were added by [[addMissionEventHandler]].
 
{{Important | This command also resets the Event Handler creation index to 0.}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''removeAllMissionEventHandlers''' type |SYNTAX=
| [[removeAllMissionEventHandlers]] type |SYNTAX=


|p1= type: [[String]] |PARAMETER1=  
|p1= type: [[String]] |PARAMETER1=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
 
 
|x1= <code>[[removeAllMissionEventHandlers]] "Loaded";
</code>|EXAMPLE1=  


|x1= <code>[[removeAllMissionEventHandlers]] "Loaded";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[removeMissionEventHandler]], [[addMissionEventHandler]] |SEEALSO=  
| [[removeMissionEventHandler]], [[addMissionEventHandler]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


Line 36: Line 32:


<h3 style='display:none'>Bottom Section</h3>
<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}}}}]]

Revision as of 18:21, 25 June 2020

Hover & click on the images for description

Description

Description:
Removes all mission event handlers of the given type which were added by addMissionEventHandler.
This command also resets the Event Handler creation index to 0.
Groups:
Uncategorised

Syntax

Syntax:
removeAllMissionEventHandlers type
Parameters:
type: String
Return Value:
Nothing

Examples

Example 1:
removeAllMissionEventHandlers "Loaded";

Additional Information

See also:
removeMissionEventHandleraddMissionEventHandler

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

Notes

Bottom Section