DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
CanDoorBeOpened()
bool
EntityAI::CanDoorBeOpened
(
int
doorIndex
,
bool
checkIfLocked
=
false
)
inline
private
См. определение в файле
Building.c
строка
125
126
{
127
if
(
IsDoorOpen
(doorIndex))
128
return
false
;
129
130
if
(checkIfLocked)
131
{
132
if
(
IsDoorLocked
(doorIndex))
133
return
false
;
134
}
135
else
136
{
137
if
(!
IsDoorLocked
(doorIndex))
138
return
false
;
139
}
140
return
true
;
141
}
EntityAI::IsDoorLocked
proto native bool IsDoorLocked(int index)
When the door is locked.
EntityAI::IsDoorOpen
proto native bool IsDoorOpen(int index)
When the door is requested to be fully open (animation wanted phase is greater than 0....
Перекрестные ссылки
IsDoorLocked()
и
IsDoorOpen()
.
EntityAI
Создано системой
1.13.2