DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsRuined()

bool IEntity::IsRuined ( )
inlineprivate

Returns whether the object is ruined (0 Health).

Возвращает
bool true = item has 0 Health or less
if ( item.IsRuined() )
{
Print("Object is ruined!");
}
proto void Print(void var)
Prints content of variable to console/log.

См. определение в файле Object.c строка 1228

1229 {
1230 return IsDamageDestroyed();
1231 }
proto native bool IsDamageDestroyed()
Checks if object is destroyed.

Перекрестные ссылки IsDamageDestroyed().