413 {
415 string cfg_path =
"cfgVehicles" +
" " +
GetParent().GetType() +
" "+
"Construction" +
" " + main_part_name +
" " + part_name +
" " +
"required_parts";
416
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)
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()