PC Stable Documentation
|
|
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(), CGame::ConfigGetChildName(), CGame::ConfigGetChildrenCount(), CGame::ConfigGetFloat(), CGame::ConfigGetInt(), CGame::ConfigGetText(), Construction(), Math::Floor(), GetGame(), InventoryLocation::GetItem(), InventoryLocation::GetSlot(), LogManager::IsBaseBuildingLogEnable(), Math::Max(), UAItemsSpreadRadius::NARROW, CGame::ObjectModelToWorld(), and GameInventory::SetGroundPosByOwner().
Referenced by TentBase::Deconstruct(), and ReceiveMaterialsServer().