1937 {
1939 if ( parent )
1940 {
1941 InventoryLocation inventory_location = new InventoryLocation();
1943
1944 return parent.GetInventory().GetSlotLock( inventory_location.
GetSlot() );
1945 }
1946
1947 return false;
1948 }
proto native EntityAI GetHierarchyParent()
Returns direct parent of current entity.
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native int GetSlot()
returns slot id if current type is Attachment