Exemple #1
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            int index = info.ButtonID - 1;

            if (index >= 0 && index < m_List.Count && index < TotalTargetsBySkill(m_From))
            {
                Mobile m = m_List[index];

                if (RegionTracking)
                {
                    m_From.QuestArrow = new TrackArrow(m_From, m, m_Range);
                }
                else
                {
                    m_From.QuestArrow = new TrackArrow(m_From, m, m_Range * (TrackDistanceMultiplier == 0 ? 1000 : TrackDistanceMultiplier));
                }

                if (NotifyPlayer && m.Player)
                {
                    m.SendLocalizedMessage(1042971, "Your presence has been detected in this area."); // ~1_NOTHING~
                }

                Tracking.AddInfo(m_From, m);
            }
        }
Exemple #2
0
        public override void OnResponse(GameClient state, RelayInfo info)
        {
            int index = info.ButtonID - 1;

            if (index >= 0 && index < m_List.Count && index < 12)
            {
                Mobile m = (Mobile)m_List[index];

                m_From.QuestArrow = new TrackArrow(m_From, m, m_Range * 2);

                Tracking.AddInfo(m_From, m);
            }
        }
Exemple #3
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            int index = info.ButtonID - 1;

            if (index >= 0 && index < this.m_List.Count && index < 12)
            {
                Mobile m = this.m_List[index];

                this.m_From.QuestArrow = new TrackArrow(this.m_From, m, this.m_Range * 2);

                Tracking.AddInfo(this.m_From, m);
            }
        }
Exemple #4
0
        public override void OnResponse(NetState state, int index)
        {
            if (m_Entries[index].craftIndex >= 0 && index < m_List.Count && m_Entries[index].craftIndex < 12)
            {
                Mobile m = m_List[m_Entries[index].craftIndex];

                m_From.QuestArrow = new TrackArrow(m_From, m, m_Range * 2);

                if (Core.SE)
                {
                    Tracking.AddInfo(m_From, m);
                }
            }
        }
Exemple #5
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            int index = info.ButtonID - 1;

            if (index >= 0 && index < m_List.Count && index < 16)
            {
                Mobile m = m_List[index];

                m_From.QuestArrow = new TrackArrow(m_From, m, m_Range * 2);

                if (Core.SE)
                {
                    Tracking.AddInfo(m_From, m);
                }
            }
        }