---
name: "removeAllMissionEventHandlers"
type: command
status: ok
groups: ["Event Handlers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/removeAllMissionEventHandlers
revid: 319390
updated: 2022-05-13T09:23:59Z
---

# removeAllMissionEventHandlers

*Command · Event Handlers · Arma 3 v0.50*

Locality: effect **local**

## Description

Removes all mission event handlers of the given type which were added by [addMissionEventHandler](../commands/addMissionEventHandler.md).

> [!IMPORTANT]
> Prior to Arma 3 v2.08 this command would also reset the Event Handler creation index to 0.

## Syntax

```sqf
removeAllMissionEventHandlers type
```

**Parameters:**

- `type`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
removeAllMissionEventHandlers "Loaded";
```

## See also

[removeMissionEventHandler](../commands/removeMissionEventHandler.md) · [addMissionEventHandler](../commands/addMissionEventHandler.md)

<sub>Source: [BI Community Wiki — removeAllMissionEventHandlers](https://community.bistudio.com/wiki/removeAllMissionEventHandlers) (revision 319390).</sub>
