Add interrupt for when a NPC completes their work?

Is there a way to add interrupts for “NPC X drops their frame on the ground” or “NPC X completed their blabla”. I want to have the option to stop what I’m doing when that happens.