{"name":"removeAllUserActionEventHandlers","title":"removeAllUserActionEventHandlers","type":"command","url":"https://community.bistudio.com/wiki/removeAllUserActionEventHandlers","revid":322842,"updated":"2022-06-27T07:33:49Z","groups":["Event Handlers"],"status":"ok","games":{"arma3":"2.06"},"since":"arma3 2.06","arma3_since":"2.06","locality":{"effect":"local"},"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]","params":[{"name":"keyName","type":"String","description":"see inputAction/actions","type_expr":"String"},{"name":"eventType","type":"String","description":"event name; see UserAction Event Handlers. Can be one of:\n\n- \"Activate\"\n- \"Deactivate\"\n- \"Analog\"","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[keyName, eventType]"}}],"examples":[{"code":["removeAllUserActionEventHandlers [\"Reload\", \"Activate\"];"]}],"see_also":["addUserActionEventHandler","removeUserActionEventHandler","Arma 3: Event Handlers"]}