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

◆ GetNumberOfHealthLevels()

proto native int IEntity::GetNumberOfHealthLevels ( string zone = "")
private

Returns global number of health levels specified in object's config class parameter healthLevels (range is usually 0..4, 0 = pristine, 1 = worn, 2 = damaged, 3 = badly damaged, 4 = ruined but can be changed).

Аргументы
zoneNameif empty string, returns number of global health levels

Используется в AddHealthLevel().