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

◆ CrewCanGetThrough()

override bool Hatchback_02::CrewCanGetThrough ( int posIdx)
inlineprotected

См. определение в файле Vehicles/InheritedCars/Hatchback_02.c строка 218

219 {
220 switch (posIdx)
221 {
222 case 0:
223 if (GetCarDoorsState("Hatchback_02_Door_1_1") == CarDoorState.DOORS_CLOSED)
224 {
225 return false;
226 }
227
228 return true;
229
230 case 1:
231 if (GetCarDoorsState("Hatchback_02_Door_2_1") == CarDoorState.DOORS_CLOSED)
232 {
233 return false;
234 }
235
236 return true;
237
238 case 2:
239 if (GetCarDoorsState("Hatchback_02_Door_1_2") == CarDoorState.DOORS_CLOSED)
240 {
241 return false;
242 }
243
244 return true;
245
246 case 3:
247 if (GetCarDoorsState("Hatchback_02_Door_2_2") == CarDoorState.DOORS_CLOSED)
248 {
249 return false;
250 }
251
252 return true;
253 }
254
255 return false;
256 }
CarDoorState
Определения CarScript.c:2
override int GetCarDoorsState(string slotType)

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