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

◆ CheckVitalItem() [1/2]

void Car::CheckVitalItem ( bool isVital,
int slotId )
inlineprotected

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

2372 {
2373 if ( !isVital || !GetInventory() )
2374 return;
2375
2376 EntityAI item = GetInventory().FindAttachment(slotId);
2377
2378 if (!item || item.IsRuined())
2379 {
2380 EngineStop();
2381 }
2382 }
class LogManager EntityAI

Используется в CheckVitalItem() и EOnPostSimulate().