I'm having issues with descendants of UIs.
#1
Here's some code, for example:

[lua]
link(tool.Selected, function()
gui = tool.UIFrame:clone()
gui.Parent = tool.Parent.Parent.UI
chosen = gui:getChild("Chosen")
[/lua]

Doesn't find it.

Also,

[lua]
local stuff = gui:getChildren()
print(#stuff)
[/lua]

prints 0. The UI itself clones into the Player and is visible, but I can't access the descendants.
Reply


Messages In This Thread
I'm having issues with descendants of UIs. - by Qwertygiy - 06-05-2011, 05:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)