Disable target on left click for grid??
Posted:
Fri Jul 10, 2015 11:04 pm
by skyracer500
Is there anyway to prevent grid from targetting someone on a left click bind?
Re: Disable target on left click for grid??
Posted:
Sun Jul 19, 2015 12:12 am
by Thillygooth
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)
Re: Disable target on left click for grid??
Posted:
Mon Aug 03, 2015 6:19 pm
by Digsby
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