{"name":"BIS_fnc_removeScriptedEventHandler","title":"BIS fnc removeScriptedEventHandler","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_removeScriptedEventHandler","revid":327930,"updated":"2022-07-13T12:30:39Z","groups":["Event Handlers"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Removes scripted event handler with given name and id.\nAdditionally \"ScriptedEventHandlerRemoved\" scripted EH is called.\n\n> [!NOTE]\n> For a list of available scripted event handlers, see Arma 3: Scripted Event Handlers.","syntaxes":[{"syntax":"[namespace, name, id] call BIS_fnc_removeScriptedEventHandler","params":[{"name":"namespace","type":"Namespace, Object, Group, Location, Boolean, Control or Display","description":"namespace in which handler is saved","type_expr":"Namespace | Object | Group | Location | Boolean | Control | Display"},{"name":"name","type":"String","description":"handler name","type_expr":"String"},{"name":"id","type":"Number","description":"EH id","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if removed, false if didn't exist"}}],"examples":[{"code":["[missionNamespace, \"event\", 2] call BIS_fnc_removeScriptedEventHandler;"]}],"see_also":["BIS_fnc_callScriptedEventHandler","BIS_fnc_addScriptedEventHandler","BIS_fnc_removeAllScriptedEventHandlers"]}