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

◆ OnIgnition()

void BoatScript::OnIgnition ( )
inlineprotected

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

281 {
282 EBoatOperationalState state = CheckOperationalRequirements();
283
284 if (state == EBoatOperationalState.RUINED)
285 {
286 return;
287 }
288
289 if (state & EBoatOperationalState.NO_IGNITER)
290 {
291 HandleEngineSound(EBoatEngineSoundState.START_NO_FUEL);
292 return;
293 }
294
295 if (state & EBoatOperationalState.NO_FUEL)
296 {
297 HandleEngineSound(EBoatEngineSoundState.START_NO_FUEL);
298 return;
299 }
300 }
void HandleEngineSound(EBoatEngineSoundState state)
Определения BoatScript.c:598
int CheckOperationalRequirements()
Определения BoatScript.c:254

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

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