-- Clear jam mid animation with motion marks function actor_on_hud_animation_mark(state, mark) if mark == "clear_jam" then db.actor:active_item():cast_Weapon():SetMisfire(false) end end function on_game_start() RegisterScriptCallback("actor_on_hud_animation_mark",actor_on_hud_animation_mark) end