removeAllMissionEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 9: Line 9:
|gr1= Event Handlers
|gr1= Event Handlers


| Removes all mission event handlers of the given type which were added by [[addMissionEventHandler]].
|descr= Removes all mission event handlers of the given type which were added by [[addMissionEventHandler]].


{{Feature | important | This command also resets the Event Handler creation index to 0.}}
{{Feature | important | This command also resets the Event Handler creation index to 0.}}

Revision as of 22:14, 13 June 2021

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:
Event Handlers

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