{"name":"removeAllMissionEventHandlers","title":"removeAllMissionEventHandlers","type":"command","url":"https://community.bistudio.com/wiki/removeAllMissionEventHandlers","revid":319390,"updated":"2022-05-13T09:23:59Z","groups":["Event Handlers"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"effect":"local"},"description":"Removes all mission event handlers of the given type which were added by addMissionEventHandler.\n\n> [!IMPORTANT]\n> Prior to Arma 3 v2.08 this command would also reset the Event Handler creation index to 0.","syntaxes":[{"syntax":"removeAllMissionEventHandlers type","params":[{"name":"type","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"type"}}],"examples":[{"code":["removeAllMissionEventHandlers \"Loaded\";"]}],"see_also":["removeMissionEventHandler","addMissionEventHandler"]}