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

◆ EEHealthLevelChanged()

override void MaskBase::EEHealthLevelChanged ( int oldLevel,
int newLevel,
string zone )
inlineprivate

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

14 {
15 if (g_Game.IsServer())
16 {
17 if( newLevel == GameConstants.STATE_RUINED )
18 {
19 SetQuantity(0);
20 }
21 }
22 }
DayZGame g_Game
Определения DayZGame.c:3942
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity re...
Определения ItemBase.c:8230

Перекрестные ссылки g_Game, SetQuantity() и GameConstants::STATE_RUINED.