Property couldn't be of type table. The reason? (SOLVED)


Hi there.

I had defined a property (of a game object) which is a Lua table:"tab", {})

And when I tried to get this property, I found it doesn’t exist. I have searched in the forum and now, I know that a property can never be a table (ref. Quesion A and Question B).

But why is that? What caused the property not to be a table?

Thank you!



The supported property types are listed in the script properties documentation.



I have asked for this numerous times, but it seems it is not as straightforward as it seems.
The idea is to be able to create custom panels to control the game and other aspects of it. So with a table you would get a drop down menu already populated, rather than having to type a string every time.