Wakka 0 Posted November 22, 2017 Share Posted November 22, 2017 I have a problem with the server that I play on. When I right click mobs / objects, it says "you are mounted" There is no solution I did not try. I want a script or something that would dismount me on clicking the object and continue with clicking it for available profiles, so the object or mob would not have to be clicked twice. Thank you. Link to comment https://wrobot.eu/forums/topic/7763-dismount-on-right-clicking-a-mob-object/ Share on other sites More sharing options...
Droidz 2738 Posted November 22, 2017 Share Posted November 22, 2017 Hello, try plugin like: using wManager.Wow.Enums; using wManager.Wow.ObjectManager; using wManager.Wow.Bot.Tasks; public class Main : wManager.Plugin.IPlugin { public void Initialize() { wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) => { try { if (ObjectManager.Me.IsMounted) { MountTask.DismountMount(); } } catch { } }; } public void Dispose() { } public void Settings() { } } Link to comment https://wrobot.eu/forums/topic/7763-dismount-on-right-clicking-a-mob-object/#findComment-35537 Share on other sites More sharing options...
sith500 13 Posted June 19, 2019 Share Posted June 19, 2019 @Droidz I tried to run it through RunCode (changing it a bit), but I don’t know how to turn off the event. Is it possible or only a plugin? Link to comment https://wrobot.eu/forums/topic/7763-dismount-on-right-clicking-a-mob-object/#findComment-54622 Share on other sites More sharing options...
Droidz 2738 Posted June 19, 2019 Share Posted June 19, 2019 hey, robotManager.Helpful.Var.SetVar("DismountRightClick", true); wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) => { try { if (robotManager.Helpful.Var.GetVar<bool>("DismountRightClick") && ObjectManager.Me.IsMounted) { MountTask.DismountMount(); } } catch { } }; // .... disable robotManager.Helpful.Var.SetVar("DismountRightClick", false); sith500 1 Link to comment https://wrobot.eu/forums/topic/7763-dismount-on-right-clicking-a-mob-object/#findComment-54624 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now