- Curse Premium
Member for 15 years, 10 months, and 27 days
Last active Tue, Dec, 1 2020 16:43:21
- 1 Follower
- 739 Total Posts
- 0 Thanks
Nov 30, 2009otravi posted a message on General Practise: named arguments, optional argumentsNo, it was actually the first time I'm browsing the WoWAce forums in months :p. Pure coincident.Posted in: Lua Code Discussion
Nov 30, 2009otravi posted a message on General Practise: named arguments, optional argumentsIt's a unit frame add-on: http://github.com/haste/oUFPosted in: Lua Code Discussion
The file you want to look at is elements/tags.lua. The basic idea is that we use a big fat function of doom to create closures that we can cache for later usage. This way it doesn't really matter how heavy the Tag() function is, as it's a one-time cost anyway.
Feb 8, 2009otravi posted a message on Proposal for changing class colors without taintingYou could avoid the pair/ipairs/next issue by using a metatable also.Posted in: Lua Code Discussion
Sep 29, 2008Posted in: Unit FramesQuote from dafire »
btw where is the advantage of putting everything into one big function instead splitting it up and using sub functions ?
It has advantages such as: Less readability and increased horribleness when it comes to maintaining it.
Sep 27, 2008Posted in: Unit FramesQuote from p3lim »
Same, I posted that a page back :/
I know of it.
Quote from p3lim »
Post a diff or a git repo I can pull from if you want anything done on Monday.
Sep 26, 2008Posted in: Unit FramesQuote from Marek »
As far as I understand, buff.filter = true is only a switch between displaying class buffs or all buffs, correct?
Filter is the following on live:
Sep 24, 2008Posted in: Unit FramesQuote from Coldfury »
Quote from Quokka »
Could soneone tell me why my raid is still showing when I have 1 till 5 raid members?
Your raid spawning code uses last as the table, while your toggling uses Raid.
Sep 23, 2008Posted in: Unit FramesQuote from haste over at wowi »
Originally posted by coree
currently i am trying to work with the new tags. but i have a problem. the health texts of my targettarget or my focustarget wont be updated when i use [curhp] or [perhp]. but for player, target and focus the tags work fine.
edit: same problem with names
There currently is no polling for such units.
- To post a comment, please login or register a new account.