Esempio n. 1
0
        public override void OnGrabPart(SceneObjectPart part, Vector3 offsetPos, IClientAPI remoteClient)
        {
            m_parts.Remove(part.UUID);

            remoteClient.SendKillObject(m_regionHandle, part.LocalId);
            remoteClient.AddMoney(1);
            remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
        }
Esempio n. 2
0
 public override void OnGrabGroup(Vector3 offsetPos, IClientAPI remoteClient)
 {
     if (m_parts.Count == 1)
     {
         m_parts.Remove(m_rootPart.UUID);
         m_scene.DeleteSceneObject(this, false);
         remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
         remoteClient.AddMoney(50);
         remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
     }
 }
Esempio n. 3
0
 public override void OnGrabGroup(Vector3 offsetPos, IClientAPI remoteClient)
 {
     if (m_parts.Count == 1)
     {
         m_parts.Remove(m_rootPart.UUID);
         m_scene.DeleteSceneObject(this, false);
         remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
         remoteClient.AddMoney(50);
         remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
     }
 }
Esempio n. 4
0
        public override void OnGrabPart(SceneObjectPart part, Vector3 offsetPos, IClientAPI remoteClient)
        {
            m_parts.Remove(part.UUID);

            remoteClient.SendKillObject(m_regionHandle, part.LocalId);
            remoteClient.AddMoney(1);
            remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);
        }