How can I generate hit event when the actor attach another?

You need these 3 things for a hit event to fire:

  1. The weapon must have collision.
  2. At least the weapon must have “Simulation Generate Hit Events” set to true.
  3. The weapon and the target must have their collision profiles set to “block” each other.

This link can explain more of the details.