Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Lybrial
Forum: Lua/XML Help 08-22-19, 12:27 AM
Replies: 12
Views: 2,491
Posted By Lybrial
It stops at the end of the table: for i = 1,...

It stops at the end of the table:


for i = 1, #MinimapButtons do


"#MinimapButtons" means the amount of values in MinimapButtons. So if you have 10 minimap buttons it would be:


for i = 1, 10 do
Forum: Lua/XML Help 08-21-19, 12:57 PM
Replies: 12
Views: 2,491
Posted By Lybrial
He is basically saying that an integer loop is...

He is basically saying that an integer loop is faster than ipairs. But... to be honest...
that really does not matter. You are not doing any stuff which needs a optimized
performance. Your code is...
Showing results 1 to 2 of 2