Property InjuryHealthThreshold
InjuryHealthThreshold
Gets or sets the injury health threshold for this Ped. The pedestrian is considered injured when its health drops below this value. The pedestrian dies on attacks when its health is below this value.
Declaration
public float InjuryHealthThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The injury health threshold. Should be below MaxHealth. |
Remarks
Note on player controlled pedestrians: One of the game scripts will consider the player wasted when their health drops below this setting value.