WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Whats rong? (https://www.wowinterface.com/forums/showthread.php?t=16576)

Raden101 06-03-08 04:39 PM

Whats rong?
 
Code:

NameL = getglobal("MyForm".."NameLabel".."Label");
TextL = MyVar["Name"];
NameL:SetText(TextL);

and on another lua file i have this

Code:

MyVar= {};
MyVar["Name"] = "Text here";

and it will not show the "Name"
also if i chang it to this it works.

Code:

NameL = getglobal("MyForm".."NameLabel".."Label");
TextL = "TEST";
NameL:SetText(TextL);

Can anyone help a noob out?

tAnKs!

Raden101 06-03-08 07:39 PM

So i found out in wow uid once you add file to a project you have to right click it and hit Include in project... i think it should default this way.. or have a note be made somwere tha can be seen..


All times are GMT -6. The time now is 06:27 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI