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

◆ CanDoorBeOpened()

override bool Land_WarheadStorage_Bunker_Facility::CanDoorBeOpened ( int doorIndex,
bool checkIfLocked = false )
inlineprotected

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

21 {
22 if (!super.CanDoorBeOpened(doorIndex, checkIfLocked))
23 return false;
24
25 switch (doorIndex)
26 {
27 case 7:
28 return IsDoorClosed(8);
29 case 8:
30 return IsDoorClosed(7);
31 }
32
33 return true;
34 }
proto native bool IsDoorClosed(int index)
When the phase is at the close phase target (0.0)

Перекрестные ссылки Building::IsDoorClosed().