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

◆ SetHealth01()

void IEntity::SetHealth01 ( string zoneName,
string healthType,
float coef )
inlineprivate

Sets health relative to its maximum.

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

1110 {
1111 SetHealth(zoneName,healthType,(GetMaxHealth(zoneName,healthType)*coef));
1112 }
float GetMaxHealth()
Equivalent of GetMaxHealth("", "");.
Определения Object.c:1081
proto native void SetHealth(string zoneName, string healthType, float value)
Sets current state of health.

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

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