06-18-2011, 03:53 PM
(06-18-2011, 01:37 AM)noob007 Wrote: Can't you also do,
[lua]
box["childsname"]
[/lua]
Sorry it's been a while since I've scripted in Lua.
The advantage of doing it that way is that you can use variables. box.variableName will give you the child named variableName, but box[variableName] (no quotes) will give you the child with the name that is stored in the variable.