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

◆ CrewCanGetThrough()

override bool Offroad_02::CrewCanGetThrough ( int posIdx)
inlineprotected

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

254 {
255 switch( posIdx )
256 {
257 case 0:
258 if ( GetCarDoorsState("Offroad_02_Door_1_1") == CarDoorState.DOORS_CLOSED )
259 return false;
260
261 return true;
262 break;
263
264 case 1:
265 if ( GetCarDoorsState("Offroad_02_Door_2_1") == CarDoorState.DOORS_CLOSED )
266 return false;
267
268 return true;
269 break;
270
271 case 2:
272 if ( GetCarDoorsState("Offroad_02_Door_1_2") == CarDoorState.DOORS_CLOSED )
273 return false;
274
275 return true;
276 break;
277
278 case 3:
279 if ( GetCarDoorsState("Offroad_02_Door_2_2") == CarDoorState.DOORS_CLOSED )
280 return false;
281
282 return true;
283 break;
284 }
285
286 return false;
287 }
CarDoorState
Определения CarScript.c:2
override int GetCarDoorsState(string slotType)

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