Hi Shefki, I'm not a coder at all but I've been able to stumble around with Dogtags to make some complex tags. I've been able to stumble around with luatext a bit for the easier stuff but there are two things that I haven't been able to code with my complete lack of programming skills:
1. This is my power text. It uses a different color for mana users for visibility purposes. I haven't been able to figure out to do this in lua:
[if HasMP then
if IsMana then
MP:Short:Color("6495ED") ' | ' MaxMP:Short:Color("6495ED")
else
MP:Short:PowerColor ' | ' MaxMP:Short:PowerColor
end
end]
2. This is the name text for my raid frames. It will show AFK or DND or Offline status until I mouseover, at which it will show the name again:
[if not IsMouseOver and (AFK or DND or Offline) then
(AFK or DND or Offline)
else
Name:Truncate(10, nil)
end]
If you or anyone else can translate this, it would help me make the transition to lua much easier. I actually have a bunch of other tags to translate but I highlighted these two as I can use what I learn here to figure out other less troublesome tags on my own. Thanks in advance!
Is there a way to toggle party/raid frames in arenas? For example, I prefer to use Gladius for arenas and would like to to turn off Pitbull just when inside.
0
1. This is my power text. It uses a different color for mana users for visibility purposes. I haven't been able to figure out to do this in lua:
2. This is the name text for my raid frames. It will show AFK or DND or Offline status until I mouseover, at which it will show the name again:
If you or anyone else can translate this, it would help me make the transition to lua much easier. I actually have a bunch of other tags to translate but I highlighted these two as I can use what I learn here to figure out other less troublesome tags on my own. Thanks in advance!
0