1126 {
1128 string cfg_path =
"cfgVehicles" +
" " +
GetParent().GetType() +
" "+
"Construction" +
" " + main_part_name +
" " + part_name +
" " +
"collision_data";
1131
1132 if ( collision_data.Count() > 0 )
1133 {
1134 if (
GetParent().MemoryPointExists( collision_data[0] ) )
1135 {
1136 min_max[0] =
GetParent().GetMemoryPointPos( collision_data[0] );
1137 }
1138 if (
GetParent().MemoryPointExists( collision_data[1] ) )
1139 {
1140 min_max[1] =
GetParent().GetMemoryPointPos( collision_data[1] );
1141 }
1142 }
1143 }
ConstructionPart GetConstructionPart(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()