Get attached entity by config type name.
2103 {
2106 for ( int i = 0; i < nAttachment; ++i )
2107 {
2109 if ( attachment.IsKindOf ( type ) )
2110 return attachment;
2111 }
2112 return NULL;
2113 }
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.