lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Currently, I can do this :

userdata1.userdata2 = newUserdata2(args)

I have userdata2 setup in userdata1's gettable,
but it is also its own userdata/metatable type.

As such it has its own gettable, ie. properties.
So what I really want to do is...

userdata1.userdata2.integerproperty = 4

This does not throw any errors, but the change
is not taking place (or taking place and going
out of scope immediately).

I am using 4.1w4... how can I chain these gettable
together correctly? Is it supposed to be possible?

-Toyotomi