EntityIsDead Property

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets a value indicating whether this instance is dead.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public bool IsDead { get; }

Property Value

Type: Boolean
true if this instance is dead; otherwise, false.
Remarks

Different types of entities are considered dead under different circumstances.

  • Peds are considered dead when their [!:Rage::Ped::Health] drops below their fatal injury threshold value (See [!:Rage::Ped::FatalInjuryThreshold]).
  • Vehicles are considered dead when they're specifically marked as such (Eg. after going into water).
  • Any other type is considered dead when their health drops below 0.001f.
See Also

Reference