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

◆ CanDoorBeLocked()

bool EntityAI::CanDoorBeLocked ( int doorIndex)
inlineprivate

Check if the door is closed and if the door is unlocked.

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

150 {
151 return (!IsDoorOpen(doorIndex) && !IsDoorLocked(doorIndex));
152 }
proto native bool IsDoorLocked(int index)
When the door is locked.
proto native bool IsDoorOpen(int index)
When the door is requested to be fully open (animation wanted phase is greater than 0....

Перекрестные ссылки IsDoorLocked() и IsDoorOpen().