Thread: /focus
View Single Post
06-13-09, 05:47 PM   #3
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 70
Originally Posted by Tristanian View Post
As far as I know the /focus slash command calls the FocusUnit() function. This function (among others) is protected meaning that it can only be called by secure code (the Blizzard user interface). In short, it cannot be used in such a fashion.
Interesting. http://www.wowwiki.com/API_FocusUnit - I had no idea that they removed such a command. From the sound of it, you can't even call it from a secure action button object, which is silly. Evil bots ruining it for us.

As an alternative, you could just put /focus into a macro and drag it to an action button.
__________________
We'd be together, but only diamonds last forever...
  Reply With Quote