Yet another problem...here's the code:
Code:
_G["WXP_Text_"..WXP_Name]:SetText(WXP_TextString..WXP_Name.."("..WXP_Level..")")
And here's the resulting error...
attempt to index field '?' (a nil value)
|
WXP_TextString, WXP_Name, and WXP_Level are all strings, and I think WXL_Text_(WXP_Name) does exist at that point, it may not though. If it didn't, is that what would be causing this error? And if not, then what is?
Note: When you first log in to a character, you get this error, and the FontString that this modifies doesn't exist. However, when you do a ReloadUI, you don't get the error, the FontString appears, and all works fine. So obviously there's something that's not happening when you first log in, but does happen after a ReloadUI.
If someone would be willing to take a look at the full source, say so and I can get it to you, it'd help a lot if I could get this sorted out.