Disable target on left click for grid??

Disable target on left click for grid??

by skyracer500 » Fri Jul 10, 2015 11:04 pm

Is there anyway to prevent grid from targetting someone on a left click bind?
skyracer500
Sergeant
Sergeant
 

Re: Disable target on left click for grid??

by Thillygooth » Sun Jul 19, 2015 12:12 am

bump, I would also like to know how to do this

edit: I found a link on another forum for how to do it. You have to edit gridcore.lua on line 197, change it to return Clique:OnClick(button, unit)
Thillygooth
Tester
 

Re: Disable target on left click for grid??

by Digsby » Mon Aug 03, 2015 6:19 pm

If you are using Grind Enhanced you can do this.

-- only for WoW 1.x
function Grid:EnableClickCasting()
if Clique and Clique.OnClick and not GridCustomClick then
GridCustomClick = function (button, unit)
Clique:OnClick(button, unit)
end
end
end

Line 197 should read "return Clique:OnClick(button, unit)"

The whole function should read:

-- only for WoW 1.x
function Grid:EnableClickCasting()
if Clique and Clique.OnClick and not GridCustomClick then
GridCustomClick = function (button, unit)
return Clique:OnClick(button, unit)
end
end
end
User avatar
Digsby
Private
Private
 


Return to Addons & macros