Tommy Cox 1 Posted April 26, 2021 Share Posted April 26, 2021 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 https://wrobot.eu/forums/topic/13020-changing-target-with-marco-error/ Share on other sites More sharing options...
Matenia 628 Posted April 26, 2021 Share Posted April 26, 2021 You're running non-secure code through WRobot, which executes code securely. Just use ClearTarget() as your Lua function Link to comment https://wrobot.eu/forums/topic/13020-changing-target-with-marco-error/#findComment-61915 Share on other sites More sharing options...
Tommy Cox 1 Posted April 27, 2021 Author Share Posted April 27, 2021 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 https://wrobot.eu/forums/topic/13020-changing-target-with-marco-error/#findComment-61916 Share on other sites More sharing options...
Matenia 628 Posted April 27, 2021 Share Posted April 27, 2021 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 https://wrobot.eu/forums/topic/13020-changing-target-with-marco-error/#findComment-61917 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