Static Private Member Functions | |
| 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 | |
|
inlinestaticprivate |
spawns material from any construction; 'player' parameter optional
References bsbDebugPrint(), Construction(), Math::Floor(), g_Game, InventoryLocation::GetItem(), InventoryLocation::GetSlot(), LogManager::IsBaseBuildingLogEnable(), Math::Max(), UAItemsSpreadRadius::NARROW, and GameInventory::SetGroundPosByOwner().
Referenced by TentBase::Deconstruct(), and ReceiveMaterialsServer().