Thread: Player Health
View Single Post
  #2  
Old 08-30-2012, 06:45 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

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.
Reply With Quote