Jump to content

Run Macro with C#


Recommended Posts

Been trying to get grasp on writing Fight Classes in C#, I've been using a couple of the bases droidz provided and have been gettingalong fairly well but can't seem to figure out how to get the bot to run a macro under certain conditions. Also, does anyone know why intellisense isn't working correctly? I have to manually search through the object browser for the write syntax I need, back in the day when I used VS most things would autocomplete.

Link to comment
Share on other sites

Hello, to run lua macro use this c# code:

wManager.Wow.Helpers.Lua.RunMacroText("/cast SpelName");

And to fix your problem with intellisense add in project references "wManager.dll" and "robotManager.dll".

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...