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

◆ CrewCanGetThrough() [2/2]

override bool CarScript::CrewCanGetThrough ( int posIdx)
inlineprotected

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

169 {
170 switch( posIdx )
171 {
172 case 0:
173 if ( GetCarDoorsState( "Van_01_Door_1_1" ) == CarDoorState.DOORS_CLOSED )
174 return false;
175
176 return true;
177 break;
178
179 case 1:
180 if ( GetCarDoorsState( "Van_01_Door_2_1" ) == CarDoorState.DOORS_CLOSED )
181 return false;
182
183 return true;
184 break;
185
186 case 2:
187 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
188 return false;
189
190 return true;
191 break;
192
193 case 3:
194 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
195 return false;
196
197 case 4:
198 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
199 return false;
200
201 return true;
202 break;
203 }
204
205 return false;
206 }
CarDoorState
Определения CarScript.c:2
override int GetCarDoorsState(string slotType)
Определения Truck_02.c:106

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