428 {
429 if (MemoryPointExists("invView2"))
430 {
431 InventoryLocation il = new InventoryLocation();
432 GetInventory().GetCurrentInventoryLocation(il);
434
436 {
437 switch (type)
438 {
440 return 1;
441 default:
442 return 0;
443 }
444 }
445 else
446 {
447 switch (type)
448 {
451 return 1;
452 default:
453 return 0;
454 }
455 }
456 }
457
458 return 0;
459 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation