public void botStopFollowAvatar(string bot, string avatarName) { IBotManager manager = World.RequestModuleInterface <IBotManager> (); if (manager != null) { manager.StopFollowAvatar(UUID.Parse(bot), avatarName); } }
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); } }