727 {
729 bool is_base = construction_part.
IsBase();
731 string cfg_path =
"cfgVehicles" +
" " +
GetParent().GetType() +
" "+
"Construction" +
" " + main_part_name +
" " + part_name +
" " +
"Materials";
732
733 if (
GetGame().ConfigIsExisting( cfg_path ) )
734 {
736 }
737 }
ConstructionPart GetConstructionPart(string part_name)
static void SpawnConstructionMaterialPiles(notnull EntityAI entity, Man player, string cfg_path, string main_part_name, string damagezone_name="", bool is_base=false)
spawns material from any construction; 'player' parameter optional
proto native CGame GetGame()