View Single Post
11-21-16, 05:37 AM   #45
_Max_Cavalera_
A Fallenroot Satyr
 
_Max_Cavalera_'s Avatar
Join Date: Dec 2007
Posts: 28
ok I see, I was missing the "escape sequence", I actually thought I would have to do something like that, like I do with colors using |c |r, but I didn't know how that's called so searching for it was pretty difficult to get any results.
Thanks for the link, covers a bunch of those and now I know what to look for

edit:. I'm currently trying to make a click work and can't make it work for the love of me, is it just not possible to have a click work on a Frame frame? Do I actually need to make a Button frame for it to work?

I've tried with and without frame:EnableMouse(true), with and without frame:RegisterForClicks("AnyUp"), and all combinations of both (with one without the other, with both).
Tried that with function OnClick(self) and with frame:SetScript("OnClick", function(self) nothing seems to work.

On the tests where I used frame:RegisterForClicks("AnyUp") I get
attempt to call method 'RegisterForClicks' (a nil value)
and on frame:SetScript("OnClick", function(self) I get
m4xArtifactFrame doesn't have a "OnClick" script
Doing this with a Button seems to work but if it's possible to do with just the Frame it would be better since it would be one less thing to create and have on the screen (even if "invisible").

Last edited by _Max_Cavalera_ : 11-21-16 at 08:56 AM.
  Reply With Quote