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

◆ OnBeforeEngineStart()

override bool Car::OnBeforeEngineStart ( )
inlineprotected

Gets called everytime the game wants to start the engine.

Возвращает
true if the engine can start, false otherwise.

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

1812 {
1813 ECarOperationalState state = CheckOperationalRequirements();
1814 SetCarEngineSoundState(CarEngineSoundState.NONE);
1815 return state == ECarOperationalState.OK;
1816 }
int CheckOperationalRequirements()
Определения CarScript.c:1849
void SetCarEngineSoundState(CarEngineSoundState pState)
Определения CarScript.c:1654

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