Log in

View Full Version : Need help with some macros I made.



Phelon
08-10-2008, 06:14 PM
Problem: For some reason when I try to set focus and then hit follow nothing happens. It gives me an error of "Unknown Unit". Any insight would be greatly appreciated. Thank you for your time.

Macros:
FOCUS MACRO
/clearfocus
/focus [target=mycharname,mod:shift]

FOLLOW MACRO
/stopmacro [target=focus,mod:shift,noexists]
/follow focus

ElectronDF
08-10-2008, 06:27 PM
Just a question. What is the mod for? Not what does it do, I know that, what is it that you want it to do? Do you have a focus frame so you can see who is your focus? When you run the focus macro, does the correct person end up as your focus?
So if you have the correct focus, then the stop macro is kinda confusing. It only stops if you don't have a focus and you push shift. Each condition is put together with an AND. If you wanted an OR, try:
/stopmacro [target=focus, noexists] [mod:shift]

Hope that helps. Good luck.

Phelon
08-10-2008, 06:53 PM
The problem I had was I was trying to use Shift+# on the hot bar. I put them to f1-f12 and it worked fine with

FOCUS MACRO
/clearfocus
/focus [target=mycharname]