Hello. I want to check in player_death event two things:
- if the assister got his assist for healing killer;
- if the assister got his assist for repairing friendly turret that killed victim.
Second isn't very important, the main idea based on first situation..
For first situation I can check if the assister is medic (through TF2_GetPlayerClass) and if he is healing killer (by checking m_hHealingTarget).
Question: maybe I can make it through some more optimized check? E.g. maybe here are some flags in player_death event that already shows that assister=healer of the killer or something like that?
But for second... I have no idea how to check if assister currently repairing killer turret...