in this part it check if the overlaped actor is creature or damagable actor
here it see if the actor is moving or not to know what animation to do
here the actor that overlapped will have a ref so we can see if its valid to apply damage
here it apply the damage if the ref was valid