{"name":"BIS_fnc_removeScriptedEventHandler","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"namespace","type":"Namespace, Object, Group, Location, Boolean, Control or Display","optional":false,"default":null,"description":"namespace in which handler is saved","types":["Namespace","Object","Group","Location","Boolean","Control","Display"],"since":null,"text":"namespace: Namespace, Object, Group, Location, Boolean, Control or Display - namespace in which handler is saved"},{"name":"name","type":"String","optional":false,"default":null,"description":"handler name","types":["String"],"since":null,"text":"name: String - handler name"},{"name":"id","type":"Number","optional":false,"default":null,"description":"EH id","types":["Number"],"since":null,"text":"id: Number - EH id"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if removed, false if didn't exist","text":"Boolean - true if removed, false if didn't exist"}}],"examples":[{"text":"```sqf\n[missionNamespace, \"event\", 2] call BIS_fnc_removeScriptedEventHandler;\n```","code":["[missionNamespace, \"event\", 2] call BIS_fnc_removeScriptedEventHandler;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_callScriptedEventHandler","BIS_fnc_addScriptedEventHandler","BIS_fnc_removeAllScriptedEventHandlers"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Event Handlers","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}