Jump to content

Changing target with Marco Error


Tommy Cox

Recommended Posts

Hey I have a question.

I am using this Macro;

RunMacroText("/cleartarget");

 

and I get a Blizzard UI error. But I dont get the error when I manually press the macro.

Is there some option i am not seeing?

 

 

Thanks 

Link to comment
Share on other sites

13 hours ago, Matenia said:

You're running non-secure code through WRobot, which executes code securely.

Just use ClearTarget() as your Lua function

Thanks for the reply.

 

You saying as a Lua Script under spell conditions?

 ClearTarget() 

Research: none

Return: nil

 

Or just add as a spell RunMacroText("ClearTarget()");

Link to comment
Share on other sites

I don't know what you're trying to do. Add it to a fightclass? The spell needs to be ClearTarget() and set to be Lua. Or the spell can be C# and Interact.ClearTarget() with it set to C#.

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...