Cannot call a function from another class! No errors UE4 just closes itself

Also, have you created the definition of the AEnemyActor::ApplyDamage() in your .cpp or .h file for AEnemyActor? E.G

AEnemyActor::ApplyDamage()
{
    //Call damage functions here
}