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

◆ CanDoorBeClosed()

override bool Land_WarheadStorage_Bunker_Facility::CanDoorBeClosed ( int doorIndex)
inlineprotected

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

37 {
38 if (IsPressureDoor(doorIndex))
39 return IsDoorOpen(doorIndex) && !IsDoorOpening(doorIndex);
40
41 return super.CanDoorBeClosed(doorIndex);
42 }
proto native bool IsDoorOpen(int index)
When the door is requested to be fully open (animation wanted phase is greater than 0....
proto native bool IsDoorOpening(int index)
When the wanted phase is at the open phase target (1.0)

Перекрестные ссылки Building::IsDoorOpen(), Building::IsDoorOpening() и IsPressureDoor().