If a player (AiPerson) is wounded
Code:
public override void OnPersonHealth(AiPerson person, AiDamageInitiator initiator, float deltaHealth)
{
base.OnPersonHealth(person, initiator, deltaHealth);
}
is called. deltaHealth is the value how strongly the person is wounded.