Get attached entity by config type name.
2118 {
2121 for ( int i = 0; i < nAttachment; ++i )
2122 {
2124 if ( attachment.IsKindOf ( type ) )
2125 return attachment;
2126 }
2127 return NULL;
2128 }
proto native GameInventory GetInventory()
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
proto native EntityAI GetAttachmentFromIndex(int index)
proto native int AttachmentCount()
Returns count of attachments attached to this item.