public LSL_Integer llGetAttached() { if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return new LSL_Integer(); return (int)m_host.ParentEntity.RootChild.AttachmentPoint; }