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

◆ OnBeforeLightOn()

bool EntityAI::OnBeforeLightOn ( )
inlineprotected

Is called by native every time the game wants to turn on the light

Возвращает
true if the light can turn on, false otherwise.

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

181 {
182 // light can turn on by default
183 return true;
184 }