Thread: Frame Factory
View Single Post
01-27-23, 05:11 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
To start with, templates a passed as strings. Your frameList is empty because you're really defined it as

Lua Code:
  1. local frameList = {
  2.     [1] = nil,
  3.     [2] = nil,
  4.     [3] = nil,
  5.     [4] = nil,
  6.     [5] = nil,
  7.     [6] = nil,
  8.     -- etc.
  9. }

therefore
Code:
for k, v in pairs(frameList) do
does nothing.

I'm pretty sure you will get plenty of errors once the list contains something
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote