{"name":"removeAllUserActionEventHandlers","operator":null,"title":"removeAllUserActionEventHandlers","type":"command","url":"https://community.bistudio.com/wiki/removeAllUserActionEventHandlers","revid":322842,"updated":"2022-06-27T07:33:49Z","groups":["Event Handlers"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.06"}],"since":{"game":"arma3","name":"Arma 3","version":"2.06"},"arma3_since":"2.06","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Removes all UserAction event handlers of the given type which were added by addUserActionEventHandler.\n\n> [!IMPORTANT]\n> This command also resets the Event Handler creation index to 0.","syntaxes":[{"syntax":"removeAllUserActionEventHandlers [keyName, eventType]","since":null,"effect":null,"exec":null,"params":[{"name":"keyName","type":"String","optional":false,"default":null,"description":"see inputAction/actions","types":["String"],"since":null,"text":"keyName: String - see inputAction/actions"},{"name":"eventType","type":"String","optional":false,"default":null,"description":"event name; see UserAction Event Handlers. Can be one of:\n- \"Activate\"\n- \"Deactivate\"\n- \"Analog\"","types":["String"],"since":null,"text":"eventType: String - event name; see UserAction Event Handlers. Can be one of:\n- \"Activate\"\n- \"Deactivate\"\n- \"Analog\""}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[keyName, eventType]","types":["Array"]}}],"examples":[{"text":"```sqf\nremoveAllUserActionEventHandlers [\"Reload\", \"Activate\"];\n```","code":["removeAllUserActionEventHandlers [\"Reload\", \"Activate\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addUserActionEventHandler","removeUserActionEventHandler","Arma 3: Event Handlers"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Event Handlers","Introduced with Arma 3 version 2.06","Scripting Commands","Scripting Commands: Local Effect"]}