Critique my code!
View Single Post
08-22-19, 12:27 AM
A Warpwood Thunder Caller
Join Date: Jan 2010
Originally Posted by
okay, thanks for the reply, for the integer loop, is it infinite or does it stop at the end of the table?
It stops at the end of the table:
"#MinimapButtons" means the amount of values in MinimapButtons. So if you have 10 minimap buttons it would be:
But it seems more complicated to do what youre doing vs just grabbing the frame and executing the functions
Ofcourse it is more complexe but it also provides much more functionality. Thats your decision.
If you use that code only for yourself you dont need that. But if you are going to public an addon
for anyone your code would be quite useless if other players have minimap buttons that you dont have.
View Public Profile
Send a private message to Lybrial
Find More Posts by Lybrial