Called upon object creation.
901 {
903 if (inventory)
904 {
909 {
911 if ( attachment )
912 {
913 GameInventory attachmentInventory = attachment.GetInventory();
914 if ( attachmentInventory.
GetCargo() )
915 {
917 }
918
920 {
922 }
923 }
924 }
925 }
926
928
931 }
ref array< EntityAI > m_AttachmentsWithCargo
ref array< EntityAI > m_AttachmentsWithAttachments
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
void MaxLifetimeRefreshCalc()
Calculates if the max lifetime is higher than refresher frequency (i.e. gets kept alive by refresher)
bool CanHaveTemperature()
returns true used on selected items that have a temperature effect and can processes temperature chan...
proto native int GetAttachmentSlotsCount()
proto native EntityAI GetAttachmentFromIndex(int index)
proto native CargoBase GetCargo()
cargo
proto native int AttachmentCount()
Returns count of attachments attached to this item.