Hey guys, thanks for the response. I don't anymore hide the target frame, it is there sitting nice and shiny, but the spellbar seems attached to it and refuses to move at all unless I set its parent to UIParent. Anyway I tried different combinations like:
Hey guys, bumping archaic topic, but patch 4 kinda ruined it... TargetFrameSpellBar:SetParent(UIParent) makes constant errors to spit from the blizzard interface, although it still works. Anyone found a way to around that short of writing a full-scale addon to handle the job?
Aww, my poor topic became sorta huge :D
I did it very close to the way Phanx suggested and it works wonders. It is also worth noting that # does not seems to work on dictionary stuff too, poor dictionaries are left in dark it seems.
Thanks guys, great workaround, it surely do fit right in, even with the additional array for the sort. Also, I didn't know about that #arrayname stuff, looks it gets the number of elements, cute ;)
Yeah, seems quite a work for not much gain ;)
Thanks for the explaination, thing is, I have never had problems with PhanxChat(besides it never colors the names :p) - I wrote several other addons that are giving on startup info what their commandline options are, only this was not working. I guess I was lucky with the rest loading after PhanxChat. But man, I was on the edge to just go crazy with this :p
Thanks Adirelle, I made these changes, but it was still not working, then had to log out on another character to see it working there... turned out it was PanxChat addon, disabled and finally saw it running :p
I'm trying to do something grid-ish, very simple tho, a mele char does not need much. I have done it partially, using secureactionbar buttons, but wanted to have it done better, with the ability to mouseover the frames and that actually counts as target=mouseover, so after googling and looking in various addons I went with the SecureGroupHeaderTemplate idea. The problem: I can't get the frame to show, can't get it to call the init function no matter what I have done past 4 hours, I think I tried every combination :(
Hehe I though it is impossible after turned upside down several range addons and checked the api, but there was always chance ;)
It is badly designed spell then in my book, but oh well, I have to live with that... or... others have to live with that :D
Hey guys, as a just grown tree I want to make my life a bit easier and what I can't decide is if Wild Growth is worth casting or not. It heals 5 targets that are in 15 yard range of the *target* it is casted on. I.e. is there a way to check the range from target to other players? Bandages work for 15 yards checking, but only from me to other players... it looks like every tree out there is just casting Wild Growth blindly hoping there will be enough around
Thanks Xinhuan, but... I could not understand the suggestion. I already patched the addon to use spell IDs, but I still can't get if the player have the spell in the book or not upon logon, do I have to create sort of a timer that fires 10 seconds after the addon is loaded in order to check the stuff with reasonably high chance of loading? I believe there should be better way...
0
0
With this code, the error on selecting target disappears, only on every spellcast stays:
0
Doesn't move:
With and without the "SetParent" line, it just wont move. The only combination that makes it move is:
But spits out error on change target:
And on every spellcast...
0
Thanks
0
I did it very close to the way Phanx suggested and it works wonders. It is also worth noting that # does not seems to work on dictionary stuff too, poor dictionaries are left in dark it seems.
0
0
If I just do
Then I just get them in random order:
I'm trying to get stuff to show in either the order I defined in the first place, or as last resort - alphabetical, but both fails. Few other tries:
prints nothing at all...
does not alter the places...
gives no message from the sort function at all...
I'm obviously missing something basic here... this should work :(
0
Thanks for the explaination, thing is, I have never had problems with PhanxChat(besides it never colors the names :p) - I wrote several other addons that are giving on startup info what their commandline options are, only this was not working. I guess I was lucky with the rest loading after PhanxChat. But man, I was on the edge to just go crazy with this :p
0
0
I'm trying to do something grid-ish, very simple tho, a mele char does not need much. I have done it partially, using secureactionbar buttons, but wanted to have it done better, with the ability to mouseover the frames and that actually counts as target=mouseover, so after googling and looking in various addons I went with the SecureGroupHeaderTemplate idea. The problem: I can't get the frame to show, can't get it to call the init function no matter what I have done past 4 hours, I think I tried every combination :(
Slimmed down, the test code in question is this:
... and "plox" never gets outputted... I'm out of ideas already... if you can give a hand, I'll be thankful.
0
It is badly designed spell then in my book, but oh well, I have to live with that... or... others have to live with that :D
0
0
0
0