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

◆ OnIgnition()

void BoatScript::OnIgnition ( )
inlineprotected

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

289 {
290 EBoatOperationalState state = CheckOperationalRequirements();
291
292 if (state == EBoatOperationalState.RUINED)
293 {
294 return;
295 }
296
297 if (state & EBoatOperationalState.NO_IGNITER)
298 {
299 HandleEngineSound(EBoatEngineSoundState.START_NO_FUEL);
300 return;
301 }
302
303 if (state & EBoatOperationalState.NO_FUEL)
304 {
305 HandleEngineSound(EBoatEngineSoundState.START_NO_FUEL);
306 return;
307 }
308 }
void HandleEngineSound(EBoatEngineSoundState state)
Определения BoatScript.c:606
int CheckOperationalRequirements()
Определения BoatScript.c:262

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

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