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

◆ SetProxyCargo()

proto native void InventoryLocation::SetProxyCargo ( notnull EntityAI parent,
EntityAI e,
int idx,
int row,
int col,
bool flip )
private

sets current inventory location type to ProxyCargo with coordinates (idx, row, col) @NOTE: typical usage is in building-like dummy structures, where furniture with cargo is part of the model, and is not a physical entity (like person or bag).

Аргументы
[in]parentparent entity that will receive item <e> into proxy cargo
[in]eentity with this inventory location (null for new spawns)
[in]idxindex of cargo
[in]rowrow of the cargo
[in]colcolumn of the cargo

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