---
name: "BIS_fnc_removeAllScriptedEventHandlers"
type: function
status: ok
groups: ["Event Handlers"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_removeAllScriptedEventHandlers
revid: 327917
updated: 2022-07-13T12:09:31Z
---

# BIS_fnc_removeAllScriptedEventHandlers

*Function · Event Handlers · Arma 3 v1.00*

## Description

Removes all scripted event handler with given name.
Additionally "ScriptedEventHandlerRemoved" scripted EH is called for every removed event handler.

> [!NOTE]
> For a list of available scripted event handlers, see [Arma 3: Scripted Event Handlers](../topics/Scripted_Event_Handlers.md).

## Syntax

```sqf
[namespace, name] call BIS_fnc_removeAllScriptedEventHandlers
```

**Parameters:**

- `namespace`: [Namespace](../topics/Namespace.md), [Object](../topics/Object.md), [Group](../topics/Group.md), [Location](../topics/Location.md), [Boolean](../topics/Boolean.md), [Control](../topics/Control.md) or [Display](../topics/Display.md) - namespace in which handler is saved
- `name`: [String](../topics/String.md) - handler name

**Returns:** [Boolean](../topics/Boolean.md) - [false](../commands/false.md) if never existed, [true](../commands/true.md) otherwise

## Examples

### Example 1

```sqf
[missionNamespace, "event"] call BIS_fnc_removeAllScriptedEventHandlers;
```

## See also

[BIS_fnc_callScriptedEventHandler](../functions/BIS_fnc_callScriptedEventHandler.md) · [BIS_fnc_addScriptedEventHandler](../functions/BIS_fnc_addScriptedEventHandler.md) · [BIS_fnc_removeScriptedEventHandler](../functions/BIS_fnc_removeScriptedEventHandler.md)

<sub>Source: [BI Community Wiki — BIS fnc removeAllScriptedEventHandlers](https://community.bistudio.com/wiki/BIS_fnc_removeAllScriptedEventHandlers) (revision 327917).</sub>
