Calling a function based on component hit

For something with just a couple of components, this might just be enough:

For more components, make array from the Ship’s components and loop.