Call a function from a blueprint to another

Put a collision box on the castle. In the collision box “On Component Begin Overlap” put the following: