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

◆ LocationCreateEntity()

static proto native EntityAI GameInventory::LocationCreateEntity ( notnull InventoryLocation inv_loc,
string type,
int iSetupFlags,
int iRotation )
staticprotected

creates new item directly at location

Аргументы
[in]typeitem type to be placed in inventory
Возвращает
created entity, null otherwise

Используется в ReplaceItemWithNewLambdaBase::CreateNewEntity(), SpawnEntity(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItemToInventoryLocation(), ThrowEntityFromInventory() и ActionUncoverHeadBase::UncoverHead().