Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Terenna
Forum: Lua/XML Help 08-21-19, 09:35 PM
Replies: 12
Views: 2,813
Posted By Terenna
The integer loop, it doesn't perform a function...

The integer loop, it doesn't perform a function call, pairs, which actually calls another function.
Forum: Lua/XML Help 08-21-19, 08:42 AM
Replies: 12
Views: 2,813
Posted By Terenna
Any instance of "in pairs" loops: for _, Frame...

Any instance of "in pairs" loops:

for _, Frame in pairs(MinimapButtons) do
Frame:SetAlpha(0)
end

should be written as:

for i = 1, #MinimapButtons do
MinimapButtons[i]:SetAlpha(0)
Showing results 1 to 2 of 2