6313 {
6314 InventoryLocation loc = new InventoryLocation;
6315 string t = src.GetType();
6317 {
6319 if (locked)
6320 {
6321 Print(
"Warning: Split: CreateCopyOfItemInInventory - Cannot create entity at locked inventory at loc=" + InventoryLocation.DumpToStringNullSafe(loc));
6322 return null;
6323 }
6325 if (dst)
6326 {
6327 MiscGameplayFunctions.TransferItemProperties(src, dst);
6328
6330
6331 Print(
"CreateCopyOfItemInInventory - created " + dst.GetName() +
" at loc=" + InventoryLocation.DumpToStringNullSafe(loc));
6332 }
6333 return dst;
6334 }
6335 return NULL;
6336 }
const int ECE_IN_INVENTORY
class GP5GasMask extends MaskBase ItemBase
FindInventoryLocationType
flags for searching locations in inventory
proto native bool HasInventoryJunctureDestination(Man player, notnull InventoryLocation dst)
proto native void RemoteObjectTreeCreate(Object obj)
RemoteObjectCreate - postponed registration of network object (and creation of remote object)....
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.