Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 244
Search took 0.02 seconds.
Search: Posts Made By: lightspark
Forum: oUF (Otravi Unit Frames) Today, 07:37 PM
Replies: 10
Views: 125
Posted By lightspark
Heh, yeah, "different" cuz we aren't actually...

Heh, yeah, "different" cuz we aren't actually that different >_>

Despite my colour weakness, hate this term, btw, colours are what catches my eye, whereas something like shield on the bar is...
Forum: oUF (Otravi Unit Frames) Today, 06:14 PM
Replies: 10
Views: 125
Posted By lightspark
Yeah, we're all different. I have a mild case of...

Yeah, we're all different. I have a mild case of deuteranomaly, that's the reason why I went w/ those colours.

Funny enough, I never notice shields, that's one of few reasons why I don't use them in...
Forum: oUF (Otravi Unit Frames) Today, 05:53 AM
Replies: 10
Views: 125
Posted By lightspark
I desaturate the icon and colour the bar...

I desaturate the icon and colour the bar grey.

https://i.imgur.com/4ZXBAoz.png

Different enough for me.
Forum: Lua/XML Help 02-19-18, 06:09 AM
Replies: 33
Views: 808
Posted By lightspark
Well, main action bar isn't static, its page...

Well, main action bar isn't static, its page changes depending on your stance/form/etc.



https://i.imgur.com/DI3LYWm.png

Let's say you have a 256x128 texture, and you want to use a 32x32 piece...
Forum: Lua/XML Help 02-19-18, 12:39 AM
Replies: 33
Views: 808
Posted By lightspark
You have to set "actionpage" attribute on your...

You have to set "actionpage" attribute on your bars, otherwise it defaults to 1.
Forum: Lua/XML Help 02-14-18, 02:27 PM
Replies: 33
Views: 808
Posted By lightspark
It's different because price tag isn't a real...

It's different because price tag isn't a real tooltip text, it's a frame that's added to a tooltip (https://github.com/Gethe/wow-ui-source/blob/live/FrameXML/GameTooltip.lua#L194-L236).

I'll never...
Forum: Lua/XML Help 02-13-18, 08:41 AM
Replies: 33
Views: 808
Posted By lightspark
Nah, everything is fine, I'd also create a method...

Nah, everything is fine, I'd also create a method that allowed me to update all bars in that table at once and add it to containerframe:

local function updateBars(self, method, ...)
for _, bar in...
Forum: Lua/XML Help 02-13-18, 07:11 AM
Replies: 33
Views: 808
Posted By lightspark
Well, if you chain them then using LEFT, RIGHT,...

Well, if you chain them then using LEFT, RIGHT, etc is fine, the placement of your first element is the most important in this case, for example, if it's on a half-pixel then the rest will be...
Forum: Lua/XML Help 02-13-18, 02:41 AM
Replies: 33
Views: 808
Posted By lightspark
I think only warriors have execute now. They...

I think only warriors have execute now. They removed execute-like abilities from others in 7.0 because of class fantasy, I might be wrong though.



It's all about positioning your frames correctly,...
Forum: Lua/XML Help 02-12-18, 01:28 PM
Replies: 33
Views: 808
Posted By lightspark
That's exactly what I expected, I was going to...

That's exactly what I expected, I was going to ask you if you're going to make SAO-inspired health bars, lol :D

Something like this may actually be somewhat useful for classes w/ execute...
Forum: Lua/XML Help 02-10-18, 01:53 AM
Replies: 33
Views: 808
Posted By lightspark
You really don't need to mess w/ oUF code because...

You really don't need to mess w/ oUF code because pretty much everything is overridable.

Override health's Update func by defining .Health.Override in your layout...
Forum: Lua/XML Help 02-10-18, 12:43 AM
Replies: 33
Views: 808
Posted By lightspark
So you're finally here :D Take a look at oUF's...

So you're finally here :D

Take a look at oUF's classpower code (https://github.com/oUF-wow/oUF/blob/master/elements/classpower.lua#L106-L134), destrolock's soul shards behave exactly the same...
Forum: AddOn Help/Support 02-10-18, 12:30 AM
Replies: 7
Views: 235
Posted By lightspark
Nah, :SetAllPoints will ruin it, his screen res...

Nah, :SetAllPoints will ruin it, his screen res is 1920x1080 after all, so

t:SetPoint("TOPLEFT", 0, 0)

is a better way of anchoring it.
Forum: Lua/XML Help 02-09-18, 07:38 AM
Replies: 10
Views: 277
Posted By lightspark
Duh, if he decides to re-set it later, he'll have...

Duh, if he decides to re-set it later, he'll have to use SetFontObjcect :rolleyes:

On a side note, there's a bug, and it won't be fixed in the near future, if you use font string's SetFont method,...
Forum: AddOn Help/Support 02-09-18, 07:24 AM
Replies: 7
Views: 235
Posted By lightspark
Well, in worst case scenario he can split the...

Well, in worst case scenario he can split the image into multiple pieces: 2048x1024 + 2048x64.

As zork said, you can't use PNGs, but you can use TGAs and BLPs, I use TGAs, most editors support...
Forum: Lua/XML Help 02-09-18, 01:02 AM
Replies: 10
Views: 277
Posted By lightspark
Eh? You have to use SetFontObject method :p

Eh? You have to use SetFontObject method :p
Forum: General Authoring Discussion 02-06-18, 07:11 AM
Replies: 8
Views: 380
Posted By lightspark
They're pretty much interchangeable. Just store...

They're pretty much interchangeable.

Just store item ID of an item that isn't cached in some table, then compare it to an item ID that comes w/ "GET_ITEM_INFO_RECEIVED", then re-request item's info...
Forum: Lua/XML Help 01-28-18, 09:01 PM
Replies: 13
Views: 739
Posted By lightspark
This issue was fixed in 7.3.5.

This issue was fixed in 7.3.5.
Forum: Alpha/Beta AddOns and Compilations 01-28-18, 09:00 PM
Replies: 8
Views: 367
Posted By lightspark
Yes, it was fixed in 735.

Yes, it was fixed in 735.
Forum: Lua/XML Help 01-26-18, 07:29 AM
Replies: 15
Views: 518
Posted By lightspark
In general, you may want to kill them for good:...

In general, you may want to kill them for good: unregister all events, reparent them to a hidden frame and so on.

But sometimes Blizz make bars (esp MainMenuBarArtFrame) do more things than they're...
Forum: Lua/XML Help 01-23-18, 04:25 AM
Replies: 15
Views: 518
Posted By lightspark
It's indeed that simple >_> Well, I think so,...

It's indeed that simple >_>



Well, I think so, I didn't report it, but prob someone else did, prob o_O They're a bit out of touch w/ secenv because they don't need to use it for their own UI, all...
Forum: Lua/XML Help 01-22-18, 08:47 PM
Replies: 15
Views: 518
Posted By lightspark
Mine might not be a good example of LAB usage...

Mine might not be a good example of LAB usage because I'm still migrating to it and code needs to be adjusted, I used to re-use Blizz buttons.

But from my experience so far LAB is missing only one...
Forum: Lua/XML Help 01-16-18, 06:04 AM
Replies: 67
Views: 19,783
Posted By lightspark
local oldBlizzFunc = BlizzFunc function...

local oldBlizzFunc = BlizzFunc

function BlizzFunc(...)
-- your stuff here

oldBlizzFunc(...)
end

People either do this thingy or replace Blizz function entirely to prevent it from doing...
Forum: Lua/XML Help 01-14-18, 10:10 PM
Replies: 67
Views: 19,783
Posted By lightspark
He prob meant "pre-hooking", when one pretty much...

He prob meant "pre-hooking", when one pretty much re-defines a function. In that case, your upvalue will call the original.
Forum: oUF (Otravi Unit Frames) 01-13-18, 05:58 PM
Replies: 9
Views: 251
Posted By lightspark
LOL :D YW :banana:

LOL :D YW :banana:
Showing results 1 to 25 of 244