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

◆ CrewCanGetThrough() [8/8]

override bool CarScript::CrewCanGetThrough ( int posIdx)
inlineprotected

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

152 {
153 switch( posIdx )
154 {
155 case 0:
156 if ( GetCarDoorsState( "Van_01_Door_1_1" ) == CarDoorState.DOORS_CLOSED )
157 return false;
158
159 return true;
160 break;
161
162 case 1:
163 if ( GetCarDoorsState( "Van_01_Door_2_1" ) == CarDoorState.DOORS_CLOSED )
164 return false;
165
166 return true;
167 break;
168
169 case 2:
170 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
171 return false;
172
173 return true;
174 break;
175
176 case 3:
177 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
178 return false;
179
180 case 4:
181 if ( GetCarDoorsState( "Van_01_Door_2_2" ) == CarDoorState.DOORS_CLOSED )
182 return false;
183
184 return true;
185 break;
186 }
187
188 return false;
189 }
CarDoorState
Определения CarScript.c:2
override int GetCarDoorsState(string slotType)
Определения CivilianSedan.c:173

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