DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetGroundPosByTransform()

static bool GameInventory::SetGroundPosByTransform ( EntityAI owner,
notnull EntityAI item,
out InventoryLocation ground,
vector transform[4] )
inlinestaticprotected

См. определение в файле 3_Game/DayZ/Systems/Inventory/Inventory.c строка 1286

1287 {
1288 bool success = GameInventory.PrepareDropEntityPos(owner, item, transform, true, GameConstants.INVENTORY_ENTITY_DROP_OVERLAP_DEPTH);
1289 ground.SetGround(item, transform);
1290 return success;
1291 }

Перекрестные ссылки GameConstants::INVENTORY_ENTITY_DROP_OVERLAP_DEPTH и PrepareDropEntityPos().

Используется в DropEntityWithTransform().