# Event Handlers (functions)

- [BIS_fnc_addScriptedEventHandler](../../functions/BIS_fnc_addScriptedEventHandler.md): Adds a Scripted Event Handler and returns its ID. Additionally, the "ScriptedEventHandlerAdded" Scripted EH is called. For the full list of all available Scripted EHs see Arma 3: Scripted Event Handlers.
- [BIS_fnc_addStackedEventHandler](../../functions/BIS_fnc_addStackedEventHandler.md) **[deprecated]**: Stacks an event handler. All event handlers accept user arguments, which are passed to the EH code in `_this` variable.
- [BIS_fnc_callScriptedEventHandler](../../functions/BIS_fnc_callScriptedEventHandler.md): Calls all the codes assigned to scripted event handler with given name. Since Arma 3 v1.68 the code receives current EH id in the special variable: `_thisScriptedEventHandler`
- [BIS_fnc_executeStackedEventHandler](../../functions/BIS_fnc_executeStackedEventHandler.md): This function executes the stacked items.
- [BIS_fnc_onDiaryChanged](../../functions/BIS_fnc_onDiaryChanged.md): Register code to be executed when diary item changes.
- [BIS_fnc_onEnd](../../functions/BIS_fnc_onEnd.md): Register code to be executed after mission end.
- [BIS_fnc_onLoad](../../functions/BIS_fnc_onLoad.md): Register code to be executed after a mission load (from a save, for example).
- [BIS_fnc_onPlayerConnected](../../functions/BIS_fnc_onPlayerConnected.md): Executes a function on server every time a player connects the mission.
- [BIS_fnc_removeAllScriptedEventHandlers](../../functions/BIS_fnc_removeAllScriptedEventHandlers.md): Removes all scripted event handler with given name. Additionally "ScriptedEventHandlerRemoved" scripted EH is called for every removed event handler.
- [BIS_fnc_removeScriptedEventHandler](../../functions/BIS_fnc_removeScriptedEventHandler.md): Removes scripted event handler with given name and id. Additionally "ScriptedEventHandlerRemoved" scripted EH is called.
- [BIS_fnc_removeStackedEventHandler](../../functions/BIS_fnc_removeStackedEventHandler.md): Removes a stacked event handler with specified custom id.
- [BIS_fnc_shakeMapEH](../../functions/BIS_fnc_shakeMapEH.md): Event handler function for the shakeMap.sqf function
- [BIS_fnc_zoomLockEH](../../functions/BIS_fnc_zoomLockEH.md): Event handler function for locking the camera.
