6305 {
6306 InventoryLocation loc = new InventoryLocation;
6307 string t = src.GetType();
6309 {
6311 if (locked)
6312 {
6313 Print(
"Warning: Split: CreateCopyOfItemInInventory - Cannot create entity at locked inventory at loc=" + InventoryLocation.DumpToStringNullSafe(loc));
6314 return null;
6315 }
6317 if (dst)
6318 {
6319 MiscGameplayFunctions.TransferItemProperties(src, dst);
6320
6322
6323 Print(
"CreateCopyOfItemInInventory - created " + dst.GetName() +
" at loc=" + InventoryLocation.DumpToStringNullSafe(loc));
6324 }
6325 return dst;
6326 }
6327 return NULL;
6328 }
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.