Lolcoincoin / tekkub-wow

Automatically exported from code.google.com/p/tekkub-wow
0 stars 0 forks source link

Highlight zone name #828

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I don't know whether this is a planned addition or anything you are
interested in, but I thought I would share.

I always liked that if i opened up the Guild panel, I can see who is in my
current zone at a glance by their zones showing up green instead of the
normal white; with that in mind, I made a small change to picoGuild to do
the same.

in picoguild.lua:

After 'local myLevel', added
'local myarea = GetRealZoneText()'

in the for loop, added
'local ar, ag, ab = 1,1,1'

and

'if area == myArea then ar, ag, ab = 0, 1, 0 end'

finally, in the call to tip:AddMultiLine(), changed the '1,1,1' arguments
to 'ar,ag,ab'.

If not interested, that's fine, I'll continue using my slightly modified
version. Thanks!

Original issue reported on code.google.com by kova...@gmail.com on 15 Mar 2009 at 5:15

GoogleCodeExporter commented 9 years ago

Original comment by Tekkub on 17 Mar 2009 at 1:24