It's doable but script complexity depends on how each are spawned. If NPC is spawned by the center entity, the script is simple and straight forward
If not, the center will have to acquire the NPC to do the bindings OR the NPC acquire the center to do it instead. I am guessing this is the case
I could share script to do that but I rather ask what actually you are making