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

◆ CrewCanGetThrough() [8/8]

override bool CarScript::CrewCanGetThrough ( int posIdx)
inlineprotected

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

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

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