I'm looking for an answer on how the game determines it in the code, as in what parameters are used; I suspect that it may have something to do with relative angles... regardless, it's easily seen through normal play that you can be seen attacking without getting the message and that you can get the message without attacking. The inconsistency is why I'm wondering how it's programmed, knowing how it works can help optimize time-saving strategies