DayZ 1.29
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 строка 1941

1942 {
1943 SetCarEngineSoundState(CarEngineSoundState.NONE);
1944
1945 ECarOperationalState state = CheckOperationalRequirements();
1946 return state == ECarOperationalState.OK;
1947 }
int CheckOperationalRequirements()
Определения CarScript.c:1980
void SetCarEngineSoundState(CarEngineSoundState pState)
Определения CarScript.c:1784

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