예제 #1
0
파일: Bot_API.cs 프로젝트: kow/Aurora-Sim
        public void botStopFollowAvatar(string bot, string avatarName)
        {
            IBotManager manager = World.RequestModuleInterface <IBotManager> ();

            if (manager != null)
            {
                manager.StopFollowAvatar(UUID.Parse(bot), avatarName);
            }
        }
예제 #2
0
        public void botStopFollowAvatar(string bot)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.Moderate, "botStopFollowAvatar", m_host, "bot", m_itemID))
            {
                return;
            }
            IBotManager manager = World.RequestModuleInterface <IBotManager>();

            if (manager != null)
            {
                manager.StopFollowAvatar(UUID.Parse(bot), m_host.OwnerID);
            }
        }