413 {
415 string cfg_path =
"cfgVehicles" +
" " +
GetParent().GetType() +
" "+
"Construction" +
" " + main_part_name +
" " + part_name +
" " +
"required_parts";
416
418 g_Game.ConfigGetTextArray( cfg_path, required_parts );
419
420
421 for ( int i = 0; i < required_parts.Count(); ++i )
422 {
424 {
425 return false;
426 }
427
428
429
430
431
432 }
433
434 return true;
435 }
ConstructionPart GetConstructionPart(string part_name)
bool IsPartConstructed(string part_name)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.