Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: ChandlerJoseph
Forum: Lua/XML Help 08-23-19, 04:16 PM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
so youre saying if my table is for instance...

so youre saying if my table is for instance containing {PlayerFrame, FocusFrame, TargetFrame}. I should use pairs() or the numeric loop?
Forum: Lua/XML Help 08-21-19, 09:39 PM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
okay, thanks for the reply, for the integer loop,...

okay, thanks for the reply, for the integer loop, is it infinite or does it stop at the end of the table?
Forum: Lua/XML Help 08-21-19, 09:24 PM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
whats more efficient and why? for i = 1,...

whats more efficient and why?

for i = 1, #MinimapButtons do
MinimapButtons[i]:SetAlpha(0)
end

for _, Frame in pairs(MinimapButtons) do
Frame:SetAlpha(0)
end
Forum: Lua/XML Help 08-21-19, 08:10 PM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
But it seems more complicated to do what youre...

But it seems more complicated to do what youre doing vs just grabbing the frame and executing the functions
Forum: Lua/XML Help 08-21-19, 10:52 AM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
Would you mind explaining a little further the...

Would you mind explaining a little further the differences between what I did and what you suggested?
Forum: Lua/XML Help 08-20-19, 06:25 PM
Replies: 12
Views: 2,709
Posted By ChandlerJoseph
Critique my code!

I am new to lua and coding in general so any feedback on these 2 small addons is appreciated.

Context: Hides minimap buttons until mouseover.
https://pastebin.com/gdcXHF5k

Context: Hides the enitre...
Showing results 1 to 6 of 6