{"name":"BIS_fnc_removeAllScriptedEventHandlers","operator":null,"title":"BIS fnc removeAllScriptedEventHandlers","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_removeAllScriptedEventHandlers","revid":327917,"updated":"2022-07-13T12:09:31Z","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 all scripted event handler with given name.\nAdditionally \"ScriptedEventHandlerRemoved\" scripted EH is called for every removed event handler.\n\n> [!NOTE]\n> For a list of available scripted event handlers, see Arma 3: Scripted Event Handlers.","syntaxes":[{"syntax":"[namespace, name] call BIS_fnc_removeAllScriptedEventHandlers","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"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"false if never existed, true otherwise","text":"Boolean - false if never existed, true otherwise"}}],"examples":[{"text":"```sqf\n[missionNamespace, \"event\"] call BIS_fnc_removeAllScriptedEventHandlers;\n```","code":["[missionNamespace, \"event\"] call BIS_fnc_removeAllScriptedEventHandlers;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_callScriptedEventHandler","BIS_fnc_addScriptedEventHandler","BIS_fnc_removeScriptedEventHandler"],"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":[]}